Changeset d794dd855b59cba17d4b3c39f5c864ba22c8a1c1

Show
Ignore:
Timestamp:
03/07/08 20:19:21 (3 months ago)
Author:
Rémi Denis-Courmont <rdenis@simphalempin.com>
git-committer:
Rémi Denis-Courmont <rdenis@simphalempin.com> 1215109161 +0300
git-parent:

[f2dcb7876939ffef8ec81a2252870ab12756285b]

git-author:
Rémi Denis-Courmont <rdenis@simphalempin.com> 1215109161 +0300
Message:

Format string fixes

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/access_filter/bandwidth.c

    r3ccefd7 rd794dd8  
    155155    access->info = src->info; 
    156156 
    157     msg_Dbg (access, "read %u bytes", len); 
     157    msg_Dbg (access, "read %zu bytes", len); 
    158158    return len; 
    159159} 
  • modules/codec/adpcm.c

    r3ccefd7 rd794dd8  
    242242 
    243243    msg_Dbg( p_dec, "format: samplerate:%d Hz channels:%d bits/sample:%d " 
    244              "blockalign:%d samplesperblock:%d", 
     244             "blockalign:%zu samplesperblock:%zu", 
    245245             p_dec->fmt_in.audio.i_rate, p_dec->fmt_in.audio.i_channels, 
    246246             p_dec->fmt_in.audio.i_bitspersample, p_sys->i_block, 
  • modules/misc/audioscrobbler.c

    r5e36fea rd794dd8  
    354354            if( !asprintf( &psz_submit_song, 
    355355                    "&a%%5B%d%%5D=%s&t%%5B%d%%5D=%s" 
    356                     "&i%%5B%d%%5D=%llu&o%%5B%d%%5D=P&r%%5B%d%%5D=" 
     356                    "&i%%5B%d%%5D=%ju&o%%5B%d%%5D=P&r%%5B%d%%5D=" 
    357357                    "&l%%5B%d%%5D=%d&b%%5B%d%%5D=%s" 
    358358                    "&n%%5B%d%%5D=%s&m%%5B%d%%5D=%s", 
     
    696696    char                *psz_username, *psz_password; 
    697697    time_t              timestamp; 
    698     char                psz_timestamp[33]; 
     698    char                psz_timestamp[21]; 
    699699 
    700700    struct md5_s        p_struct_md5; 
     
    746746    } 
    747747 
    748     snprintf( psz_timestamp, 33, "%llu", (uintmax_t)timestamp ); 
     748    snprintf( psz_timestamp, sizeof( psz_timestamp ), "%"PRIu64, 
     749              (uint64_t)timestamp ); 
    749750 
    750751    /* generates a md5 hash of : 
  • modules/misc/dummy/decoder.c

    r3561b9b rd794dd8  
    136136#endif 
    137137 
    138         msg_Dbg( p_dec, "dumped %i bytes", p_block->i_buffer ); 
     138        msg_Dbg( p_dec, "dumped %zu bytes", p_block->i_buffer ); 
    139139    } 
    140140 
  • modules/misc/stats/decoder.c

    red7b6cb rd794dd8  
    7777    if( p_block->i_buffer == kBufferSize ) 
    7878    { 
    79         msg_Dbg( p_dec, "got %d ms", *(mtime_t *)p_block->p_buffer  / 1000 ); 
    80         msg_Dbg( p_dec, "got %d ms offset", (mdate() - *(mtime_t *)p_block->p_buffer) / 1000 ); 
     79        msg_Dbg( p_dec, "got %"PRIu64" ms", 
     80                 *(mtime_t *)p_block->p_buffer  / 1000 ); 
     81        msg_Dbg( p_dec, "got %"PRIu64" ms offset", 
     82                 (mdate() - *(mtime_t *)p_block->p_buffer) / 1000 ); 
    8183        *(mtime_t *)(p_pic->p->p_pixels) = *(mtime_t *)p_block->p_buffer; 
    8284    } 
  • modules/misc/stats/encoder.c

    red7b6cb rd794dd8  
    8484    p_block->i_dts = p_pict->date; 
    8585 
    86     msg_Dbg( p_enc, "putting %dms", *(mtime_t*)p_block->p_buffer / 1000 ); 
    87  
     86    msg_Dbg( p_enc, "putting %"PRIu64"ms", 
     87             *(mtime_t*)p_block->p_buffer / 1000 ); 
    8888    return p_block; 
    8989} 
  • modules/misc/stats/vout.c

    red7b6cb rd794dd8  
    215215static void Display( vout_thread_t *p_vout, picture_t *p_pic ) 
    216216{ 
    217     msg_Dbg( p_vout, "VOUT got %d ms offset", (mdate() - *(mtime_t *)p_pic->p->p_pixels) / 1000 ); 
     217    msg_Dbg( p_vout, "VOUT got %"PRIu64" ms offset", 
     218             (mdate() - *(mtime_t *)p_pic->p->p_pixels) / 1000 ); 
    218219 
    219220    /* No need to do anything, the fake direct buffers stay as they are */ 
  • modules/mux/asf.c

    rd34e1a8 rd794dd8  
    223223    msg_Dbg( p_mux, "Packet size %d", p_sys->i_packet_size); 
    224224    if (p_sys->i_bitrate_override) 
    225         msg_Dbg( p_mux, "Bitrate override %d", p_sys->i_bitrate_override); 
     225        msg_Dbg( p_mux, "Bitrate override %"PRId64, p_sys->i_bitrate_override); 
    226226    p_sys->i_packet_count= 0; 
    227227 
  • modules/mux/mpjpeg.c

    r3561b9b rd794dd8  
    166166            "--"BOUNDARY"\r\n" 
    167167            "Content-Type: image/jpeg\r\n" 
    168             "Content-Length: %u\r\n" 
     168            "Content-Length: %zu\r\n" 
    169169            "\r\n"; 
    170170        block_t *p_data = block_FifoGet( p_fifo ); 
  • modules/video_filter/dynamicoverlay/dynamicoverlay_commands.c

    r3561b9b rd794dd8  
    511511        { 
    512512            msg_Err( p_filter, 
    513                      "Insufficient data in shared memory. need %d, got %d", 
     513                     "Insufficient data in shared memory. need %zu, got %zu", 
    514514                     i_neededsize, i_size ); 
    515515            p_ovl->data.p_pic->pf_release( p_ovl->data.p_pic ); 
     
    918918    } 
    919919 
    920     msg_Dbg( p_filter, "%d commands are available", p_sys->i_commands ); 
     920    msg_Dbg( p_filter, "%zu commands are available", p_sys->i_commands ); 
    921921    for( size_t i_index = 0; i_index < p_sys->i_commands; i_index++ ) 
    922922        msg_Dbg( p_filter, "    %s", p_sys->pp_commands[i_index]->psz_command );