WPrefs.c Removed format-overflow warning
commitde09ac5dade2bf11fd540200051ea90414e3aec4
authorRodolfo García Peñas (kix) <kix@kix.es>
Wed, 19 Jun 2019 19:11:07 +0000 (19 21:11 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Thu, 20 Jun 2019 21:04:31 +0000 (20 22:04 +0100)
tree3591de70dbb7b6f53a8ecaf24cfcfa93669ba48e
parent3dce639aae4662d934915fb98181019a1b619fc0
WPrefs.c Removed format-overflow warning

This patch adds some characters to the mbuf buffer, to allow the buffer size and some extra characters.

WPrefs.c: In function ‘loadConfigurations’:
../src/wconfig.h:400:17: warning: ‘%s’ directive writing up to 1023 bytes into a region of size 1018 [-Wformat-overflow=]

Signed-off-by: Rodolfo García Peñas (kix) <kix@kix.es>
WPrefs.app/WPrefs.c