diff options
author | Glenn Kasten <gkasten@google.com> | 2010-07-29 09:38:39 -0700 |
---|---|---|
committer | Glenn Kasten <gkasten@google.com> | 2010-07-29 09:38:39 -0700 |
commit | a45db1a5cabede18909327d84dbd6f92c5a0ce3d (patch) | |
tree | fd4f50316ae5677d794bba9f69f9e5380eaf93f3 | |
parent | 76d3a99f858e5b4d470cef458171cf8f2e965493 (diff) | |
download | android_system_media-a45db1a5cabede18909327d84dbd6f92c5a0ce3d.tar.gz android_system_media-a45db1a5cabede18909327d84dbd6f92c5a0ce3d.tar.bz2 android_system_media-a45db1a5cabede18909327d84dbd6f92c5a0ce3d.zip |
Fix build warning on Linux native.
Change-Id: Id994888dc4be9cf9df44c3cf6222847d6422543b
-rw-r--r-- | opensles/libopensles/trace.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/opensles/libopensles/trace.c b/opensles/libopensles/trace.c index 00e50ecc..63dba7dd 100644 --- a/opensles/libopensles/trace.c +++ b/opensles/libopensles/trace.c @@ -52,7 +52,7 @@ void slEnterInterface(const char *function) if (*underscore == '_') { if (strcmp(function, "BufferQueue_Enqueue") && strcmp(function, "BufferQueue_GetState") && strcmp(function, "OutputMixExt_FillBuffer") ) { - LOGV("Entering %.*s::%s\n", underscore - function, function, &underscore[1]); + LOGV("Entering %.*s::%s\n", (int) (underscore - function), function, &underscore[1]); } return; } @@ -70,10 +70,10 @@ void slLeaveInterface(const char *function, SLresult result) while (*underscore != '\0') { if (*underscore == '_') { if (SLESUT_RESULT_MAX > result) - LOGE("Leaving %.*s::%s (%s)\n", underscore - function, function, + LOGE("Leaving %.*s::%s (%s)\n", (int) (underscore - function), function, &underscore[1], slesutResultStrings[result]); else - LOGE("Leaving %.*s::%s (0x%X)\n", underscore - function, function, + LOGE("Leaving %.*s::%s (0x%X)\n", (int) (underscore - function), function, &underscore[1], (unsigned) result); return; } |