[SDL_Tizen] Fix build warning 50/130350/1
authorhuiyu.eun <huiyu.eun@samsung.com>
Mon, 22 May 2017 05:55:01 +0000 (14:55 +0900)
committerhuiyu.eun <huiyu.eun@samsung.com>
Mon, 22 May 2017 05:57:01 +0000 (14:57 +0900)
- /home/abuild/rpmbuild/BUILD/SDL2-2.0.4/src/SDL_log.c:92:5:
  warning: initialization makes integer from pointer without a cast [-Wint-conversion]
- Modify Null to 0(DLOG_UNKNOWN)

Change-Id: Ie9880b060bf63d3214461a0923668df83d934388
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
src/SDL_log.c

index 278f829..d3c2e95 100644 (file)
@@ -89,7 +89,7 @@ static const char *SDL_priority_prefixes[SDL_NUM_LOG_PRIORITIES] = {
 
 #if defined(__TIZEN__)
 static const int SDL_dlog_debug_priority[SDL_NUM_LOG_PRIORITIES] = {
-    NULL,
+    DLOG_UNKNOWN,
     DLOG_VERBOSE,
     DLOG_DEBUG,
     DLOG_INFO,