]> git.sesse.net Git - vlc/blobdiff - src/osd/osd_parser.c
size_t / int confusion
[vlc] / src / osd / osd_parser.c
index 212d093da7bdc592552d48f09ffb722523b80f37..c2b5a002ea7ae81f805d7aa2f769a951cb5e823b 100644 (file)
@@ -677,8 +677,9 @@ int osd_ConfigLoader( vlc_object_t *p_this, const char *psz_file,
                 ( strncmp( ppsz_button_states[1], &state[0], strlen(ppsz_button_states[1]) ) != 0 ) &&
                 ( strncmp( ppsz_button_states[2], &state[0], strlen(ppsz_button_states[2]) ) != 0 ) )
             {
-                msg_Err( p_this, "invalid button state %s for button %s expected %d: unselect, select or pressed)",
-                                    &state[0], &action[0], strlen(&state[0]));
+                msg_Err( p_this, "invalid button state %s for button %s "
+                         "expected %u: unselect, select or pressed)",
+                         &state[0], &action[0], (unsigned)strlen(&state[0]));
                 goto error;
             }