summaryrefslogtreecommitdiff
blob: c93d8d796dc828759ccca8f8bd76777f9518ff5c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
--- mpg321-0.3.2-orig/mpg321.c	2012-03-25 14:27:49.000000000 +0200
+++ mpg321-0.3.2-orig/mpg321.c	2015-08-12 23:34:20.395331151 +0200
@@ -183,7 +183,7 @@
 				else{
 #endif					
 					if(!(options.opt & MPG321_ENABLE_BUFFER))
-						fprintf(stderr,"Volume: %ld%%      \r",volume);
+						fprintf(stderr,"Volume: %d%%      \r",volume);
 #ifdef HAVE_ALSA
 				}
 #endif
@@ -233,7 +233,7 @@
 				else{
 #endif
 					if(!(options.opt & MPG321_ENABLE_BUFFER))
-						fprintf(stderr,"Volume: %ld%%      \r",volume);
+						fprintf(stderr,"Volume: %d%%      \r",volume);
 #ifdef HAVE_ALSA
 				}
 #endif
@@ -447,7 +447,7 @@
         {
             if(!names[i])
             {
-                printf(emptystring);
+                printf("%s", emptystring);
             }
             
             else
@@ -465,7 +465,7 @@
         for (i=0; i<=5; i++)    {
             fprintf (stderr, "%s", info_id3[i].name);
             if (!names[i])  {
-                fprintf (stderr, emptystring);
+                fprintf (stderr, "%s", emptystring);
             }   else    {
                 fprintf (stderr, "%s", names[i]);
                 free (names[i]);