Recent compilers complain with the following message:
main.cpp: In function ‘void split_item(STRING_VECTOR&, char)’:
main.cpp:2840:10: error: ‘char strncpy(char, const char, size_t)’ output truncated before terminating nul copying as many bytes from a string as its length
Recent compilers complain with the following message:
main.cpp: In function ‘void split_item(STRING_VECTOR&, char)’: main.cpp:2840:10: error: ‘char strncpy(char, const char, size_t)’ output truncated before terminating nul copying as many bytes from a string as its length
This patch addresses this issue.
Signed-off-by: Christoph Muellner christoph.muellner@theobroma-systems.com