From: huiyu.eun Date: Mon, 22 May 2017 05:55:01 +0000 (+0900) Subject: [SDL_Tizen] Fix build warning X-Git-Tag: accepted/tizen/unified/20170609.054234~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=51aac2c919fc31de5bc5f87d4b62afd14f564fdb;p=platform%2Fupstream%2FSDL.git [SDL_Tizen] Fix build warning - /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 --- diff --git a/src/SDL_log.c b/src/SDL_log.c index 278f829..d3c2e95 100644 --- a/src/SDL_log.c +++ b/src/SDL_log.c @@ -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,