Fix build error on aarch64 86/230986/2
authorwn.jang <wn.jang@samsung.com>
Thu, 16 Apr 2020 10:31:15 +0000 (19:31 +0900)
committerwn.jang <wn.jang@samsung.com>
Thu, 16 Apr 2020 10:48:31 +0000 (19:48 +0900)
Change-Id: I2454cab3a614ceacf23f17841a4165f35d42e408

client/tts.c

index 2e080fa..4d7b549 100644 (file)
@@ -1468,13 +1468,13 @@ int tts_add_text(tts_h tts, const char* text, const char* language, int voice_ty
        } else {
                SLOG(LOG_DEBUG, TAG_TTSC, "[DEBUG] g_max_text_size is %d byte", g_max_text_size);
                if (g_max_text_size < strlen(text) || strlen(text) <= 0) {
-                       SLOG(LOG_ERROR, TAG_TTSC, "[ERROR] Input text size is invalid. current text_size(%d byte)", strlen(text));
+                       SLOG(LOG_ERROR, TAG_TTSC, "[ERROR] Input text size is invalid. current text_size(%zu byte)", strlen(text));
                        SLOG(LOG_DEBUG, TAG_TTSC, "@@@");
                        return TTS_ERROR_INVALID_PARAMETER;
                }
        }
 
-       SLOG(LOG_DEBUG, TAG_TTSC, "Text is valid - text(%d byte) is '%s'", strlen(text), text);
+       SLOG(LOG_DEBUG, TAG_TTSC, "Text is valid - text(%zu byte) is '%s'", strlen(text), text);
 
        /* save texts for repetition */
        if (NULL != client->text_repeat) {