Description: Fix a few fprintf format errors
Author: Sebastian Reichel <sre@debian.org>
Last-Update: 2016-07-21

Index: libcmtspeechdata/test_cmtspeech.c
===================================================================
--- libcmtspeechdata.orig/test_cmtspeech.c
+++ libcmtspeechdata/test_cmtspeech.c
@@ -166,7 +166,7 @@ static int link_updown_cmtspeech_events(
   }
 
   if (ctx->verbose)
-    printf(PREFIX "sleeping for %lds:%ldns (sleep %d/%d)\n",
+    printf(PREFIX "sleeping for %lds:%ldns (sleep %d/%lu)\n",
 	   tv[sleepind].tv_sec, tv[sleepind].tv_nsec, 
 	   sleepind, (sizeof(tv) / sizeof(struct timespec)));
   nanosleep(&tv[sleepind], NULL);
Index: libcmtspeechdata/utils/cmtspeech_ofono_test.c
===================================================================
--- libcmtspeechdata.orig/utils/cmtspeech_ofono_test.c
+++ libcmtspeechdata/utils/cmtspeech_ofono_test.c
@@ -455,12 +455,12 @@ static void test_handle_cmtspeech_data(s
 		}
 
 		if (latency_r < 100000) {
-		  fprintf(stderr, "...skip latency (%d)\n", latency_r);
+		  fprintf(stderr, "...skip latency (%lu)\n", latency_r);
 			break;
 		}
 
 		if (latency_r > 1000000) {
-		  fprintf(stderr, "...flush latency (%d)\n", latency_r);
+		  fprintf(stderr, "...flush latency (%lu)\n", latency_r);
 		  num = pa_simple_read(ctx->source, scratch, 320, &error);
 		  if (num < 0){
 		    fprintf(stderr, __FILE__": error during flushing: %s\n", pa_strerror(error));
