]> git.sesse.net Git - vlc/blobdiff - modules/misc/notify/xosd.c
By definition of sizeof, sizeof(char) = 1
[vlc] / modules / misc / notify / xosd.c
index 0b7615da9715075bab95f170a38b792e4a037701..ff72f8c0ba701fd748913a3905e7fa109a2ad5d2 100644 (file)
@@ -266,7 +266,7 @@ static void Run( intf_thread_t *p_intf )
                     sprintf( psz_duration," " );
                 }
 
-                psz_display = (char *)malloc( sizeof(char )*
+                psz_display = (char *)malloc(
                                           (strlen( p_input->psz_name ) +
                                           MSTRTIME_MAX_SIZE + 2+6 + 10 +10 ));
                 sprintf( psz_display,"%s %s",