Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- m3u.cpp:452:20: warning: 'char* strncpy(char*, const char*, size_t)' output may be truncated copying 511 bytes from a string of length 1023 [-Wstringop-truncation]
- char *r = strncpy(des, src, count-1);
- ~~~~~~~^~~~~~~~~~~~~~~~~~~
- In function 'char* my_strncpy(char*, const char*, size_t)',
- inlined from 'int process_picon(CHANNEL_INFO*)' at m3u.cpp:2042:15:
- m3u.cpp:452:20: warning: 'char* strncpy(char*, const char*, size_t)' output may be truncated copying 127 bytes from a string of length 511 [-Wstringop-truncation]
- char *r = strncpy(des, src, count-1);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement