diff options
author | Mark Salyzyn <salyzyn@google.com> | 2014-04-04 14:47:28 -0700 |
---|---|---|
committer | Mark Salyzyn <salyzyn@google.com> | 2014-04-15 13:18:22 -0700 |
commit | db43b34c3428e480f8c4c66e7e88f4001f37f91e (patch) | |
tree | be194bf06c84b61f277a1c29c7499aa7862494a4 /libvideoeditor/osal/src/M4PSW_DebugTrace.c | |
parent | 1df2557ac95a6d8a087fb15f6f842dc049f2759b (diff) | |
download | frameworks_av-db43b34c3428e480f8c4c66e7e88f4001f37f91e.zip frameworks_av-db43b34c3428e480f8c4c66e7e88f4001f37f91e.tar.gz frameworks_av-db43b34c3428e480f8c4c66e7e88f4001f37f91e.tar.bz2 |
media: 64 bit compile issues
- change internal sized types to use stdint.h
- printf & scanf formats
- size_t or unsigned int for iterators
Change-Id: Id993a70d8bf54c667c5d652b34179a2c727ed446
Diffstat (limited to 'libvideoeditor/osal/src/M4PSW_DebugTrace.c')
-rwxr-xr-x | libvideoeditor/osal/src/M4PSW_DebugTrace.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libvideoeditor/osal/src/M4PSW_DebugTrace.c b/libvideoeditor/osal/src/M4PSW_DebugTrace.c index 0fcba94..850ed91 100755 --- a/libvideoeditor/osal/src/M4PSW_DebugTrace.c +++ b/libvideoeditor/osal/src/M4PSW_DebugTrace.c @@ -25,6 +25,7 @@ */ +#include <inttypes.h> #include <stdio.h> /*for printf */ #include "M4OSA_Types.h" @@ -65,9 +66,9 @@ M4OSAL_TRACE_EXPORT_TYPE void M4OSA_DebugTrace(M4OSA_Int32 line, } #ifdef NO_FILE - printf("Error: %li, on %s: %s\n",err,cond,msg); + printf("Error: %" PRIu32 ", on %s: %s\n",err,cond,msg); #else /* NO_FILE */ - printf("Error: %li, on %s: %s Line %lu in: %s\n",err,cond,msg,line,file); + printf("Error: %" PRIu32 ", on %s: %s Line %" PRIu32 " in: %s\n",err,cond,msg,line,file); #endif /* NO_FILE */ } |