Re-fix build error on gcc-13 Build 06/295906/1 accepted/tizen_8.0_unified tizen_8.0 accepted/tizen/8.0/unified/20231005.094237 accepted/tizen/unified/20230725.012946 accepted/tizen/unified/dev/20230726.120000 tizen_8.0_m2_release
authordyamy-lee <dyamy.lee@samsung.com>
Mon, 17 Jul 2023 05:41:59 +0000 (14:41 +0900)
committerTizen AI <ai.tzn.sec@samsung.com>
Mon, 17 Jul 2023 05:57:17 +0000 (14:57 +0900)
The size has different result by arch.
So, for size_t type, it need to use 'zu' format string.

Change-Id: I1967daa01e9f041ecaeef0db407a6947ba101f6e

src/mmimgr/iu/SpeakerRecognitionEngine.cpp

index e637a0c2ad3aa67010d5f7a0e79e636354abc268..1d41f50f32cdf0854044e3f01c2c2c985b7eff2e 100644 (file)
@@ -98,7 +98,7 @@ bool SpeakerRecognitionEngine::setInputModalityData(int modalityType, void *data
         provider.setRecognizedSpeakerResult(event->speaker);
         speakerList.clear();
         g_list_foreach(event->speaker_list, iterateSpeakerCallback, reinterpret_cast<gpointer>(this));
-        _D("[SpeakerRecognitionEngine] speaker list size(%ld)", speakerList.size());
+        _D("[SpeakerRecognitionEngine] speaker list size(%zu)", speakerList.size());
         for (auto &speakerInfo : speakerList) {
             // speakerInfo is tuple of name, id, score
             _D("[SpeakerRecognitionEngine] speakerInfo: name(%s), id(%s), score(%f)", speakerInfo.name, speakerInfo.id, speakerInfo.score);