[PATCH] size_t/int mismatch on 64 bits

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

sizeof(size_t) is 8 on 64 bits, therefore:

struct atsc_event_info {
        uint16_t id;
        struct tm start;
        struct tm end;
        int title_pos;
        int title_len;
        int msg_pos;
        int msg_len;
};

and: (size_t *)&curr_info->title_buf.buf_pos), was segfaulting. 

Attachment: atsc_epg.diff
Description: Binary data

Mathieu Rene
Avant-Garde Solutions Inc
Office: + 1 (514) 664-1044 x100
Cell: +1 (514) 664-1044 x200
mrene@xxxxxxx





[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux