Fix invalid suffix on literal 56/256456/2
authorMinje Ahn <minje.ahn@samsung.com>
Mon, 5 Apr 2021 00:44:01 +0000 (09:44 +0900)
committerMinje ahn <minje.ahn@samsung.com>
Mon, 5 Apr 2021 08:09:32 +0000 (08:09 +0000)
Change-Id: I951f8d45e8c8e2bc9ab59eefa3807c140bb06190
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
src/include/common/media-svc-debug.h

index 25a64029216a5874b61f55d367e322f769a85a18..bd4f1e72b845f076be34a6e3a128ab7b8e5a083f 100755 (executable)
 #define FONT_COLOR_GRAY        "\033[37m"
 
 #define media_svc_debug(fmt, arg...) do { \
-                       LOGD(FONT_COLOR_RESET""fmt"", ##arg); \
+                       LOGD(FONT_COLOR_RESET"" fmt "", ##arg); \
                } while (0)
 
 #define media_svc_error(fmt, arg...) do { \
-                       LOGE(FONT_COLOR_RED""fmt""FONT_COLOR_RESET, ##arg); \
+                       LOGE(FONT_COLOR_RED"" fmt "" FONT_COLOR_RESET, ##arg); \
                } while (0)
 
 #define media_svc_debug_fenter() do { \
-                       LOGD(FONT_COLOR_YELLOW"<ENTER>"FONT_COLOR_RESET); \
+                       LOGD(FONT_COLOR_YELLOW"<ENTER>" FONT_COLOR_RESET); \
                } while (0)
 
 #define media_svc_debug_fleave() do { \
-                       LOGD(FONT_COLOR_YELLOW"<LEAVE>"FONT_COLOR_RESET); \
+                       LOGD(FONT_COLOR_YELLOW"<LEAVE>" FONT_COLOR_RESET); \
                } while (0)
 
 #define media_svc_retm_if(expr, fmt, arg...) do { \
                        if (expr) { \
-                               LOGE(FONT_COLOR_RED""fmt""FONT_COLOR_RESET, ##arg); \
+                               LOGE(FONT_COLOR_RED"" fmt "" FONT_COLOR_RESET, ##arg); \
                                return; \
                        } \
                } while (0)
 #define media_svc_retv_if(expr, val) do { \
                        if (expr) { \
-                               LOGE(FONT_COLOR_RED""FONT_COLOR_RESET);     \
+                               LOGE(FONT_COLOR_RED"" FONT_COLOR_RESET);     \
                                return (val); \
                        } \
                } while (0)
 #define media_svc_retvm_if(expr, val, fmt, arg...) do { \
                        if (expr) { \
-                               LOGE(FONT_COLOR_RED""fmt""FONT_COLOR_RESET, ##arg); \
+                               LOGE(FONT_COLOR_RED"" fmt "" FONT_COLOR_RESET, ##arg); \
                                return (val); \
                        } \
                } while (0)
 
 #define media_svc_retv_del_if(expr, val, p_str) do { \
                        if (expr) { \
-                               LOGE(FONT_COLOR_RED""FONT_COLOR_RESET);     \
+                               LOGE(FONT_COLOR_RED"" FONT_COLOR_RESET);     \
                                _media_svc_destroy_content_info(p_str);        \
                                return (val); \
                        } \
                } while (0)
 
 #define media_svc_sec_debug(fmt, arg...) do { \
-                       SECURE_LOGI(FONT_COLOR_GREEN""fmt""FONT_COLOR_RESET, ##arg); \
+                       SECURE_LOGI(FONT_COLOR_GREEN"" fmt "" FONT_COLOR_RESET, ##arg); \
                } while (0)
 
 #define media_svc_sec_warn(fmt, arg...) do { \
-                       SECURE_LOGW(FONT_COLOR_RED""fmt""FONT_COLOR_RESET, ##arg); \
+                       SECURE_LOGW(FONT_COLOR_RED"" fmt "" FONT_COLOR_RESET, ##arg); \
                } while (0)
 
 #define media_svc_sec_error(fmt, arg...) do { \
-                       SECURE_LOGE(FONT_COLOR_RED""fmt""FONT_COLOR_RESET, ##arg); \
+                       SECURE_LOGE(FONT_COLOR_RED"" fmt "" FONT_COLOR_RESET, ##arg); \
                } while (0)
 
 #define ERR_BUF_LENGHT 256