Home
last modified time | relevance | path

Searched hist:"02 bc7763880f87936c92c171091600b85984d697" (Results 1 – 1 of 1) sorted by relevance

/rkdeveloptool/
H A Dmain.cpp02bc7763880f87936c92c171091600b85984d697 Wed Jun 26 12:49:28 UTC 2019 Christoph Muellner <christoph.muellner@theobroma-systems.com> Fix compilation issue in split_item().

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>