aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2014-07-25 15:14:03 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2014-07-25 15:14:03 +0200
commit1df6f9d1cafdb80bd6c78ceae1056bd83089ce0d (patch)
treed8f5652b3134ee64686c3dd6cfc207ded6ce87f1 /src
parent7a68bd9e9753bb71cd2301c44a81093d61788d95 (diff)
downloadODR-PadEnc-1df6f9d1cafdb80bd6c78ceae1056bd83089ce0d.tar.gz
ODR-PadEnc-1df6f9d1cafdb80bd6c78ceae1056bd83089ce0d.tar.bz2
ODR-PadEnc-1df6f9d1cafdb80bd6c78ceae1056bd83089ce0d.zip
Correct signedness of mot header
Diffstat (limited to 'src')
-rw-r--r--src/mot-encoder.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mot-encoder.cpp b/src/mot-encoder.cpp
index b885780..fc60f62 100644
--- a/src/mot-encoder.cpp
+++ b/src/mot-encoder.cpp
@@ -547,8 +547,8 @@ encodefile_out:
void createMotHeader(size_t blobsize, int fidx, unsigned char* mothdr, int* mothdrlen)
{
struct stat s;
- char MotHeaderCore[7] = {0x00,0x00,0x00,0x00,0x0D,0x04,0x01};
- char MotHeaderExt[19] = {0x85,0x00,0x00,0x00,0x00,0xcc,0x0c,
+ uint8_t MotHeaderCore[7] = {0x00,0x00,0x00,0x00,0x0D,0x04,0x01};
+ uint8_t MotHeaderExt[19] = {0x85,0x00,0x00,0x00,0x00,0xcc,0x0c,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00};
char cntemp[12];
int i;