Advertisement
Guest User

Untitled

a guest
May 19th, 2019
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. 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]
  2. char *r = strncpy(des, src, count-1);
  3. ~~~~~~~^~~~~~~~~~~~~~~~~~~
  4. In function 'char* my_strncpy(char*, const char*, size_t)',
  5. inlined from 'int process_picon(CHANNEL_INFO*)' at m3u.cpp:2042:15:
  6. 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]
  7. char *r = strncpy(des, src, count-1);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement