diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2019-12-29 12:40:29 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2020-01-05 23:31:20 +0100 |
commit | ce43e4346fd8c4262f14b8abcddad209e021fbf1 (patch) | |
tree | 0410bda943d7eba0108178e70a6aac7bcd522144 /nx-X11/programs/Xserver/composite | |
parent | 46ef20bdb97bc134bb855f8604828ec314716a32 (diff) | |
download | nx-libs-ce43e4346fd8c4262f14b8abcddad209e021fbf1.tar.gz nx-libs-ce43e4346fd8c4262f14b8abcddad209e021fbf1.tar.bz2 nx-libs-ce43e4346fd8c4262f14b8abcddad209e021fbf1.zip |
Dialog.c: fix format-truncation warning
Dialog.c: In function ‘nxagentLaunchDialog’:
Dialog.c:320:53: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size 256 [-Wformat-truncation=]
snprintf(dialogDisplay, sizeof(dialogDisplay), "%s", nxagentDisplayName);
^~ ~~~~~~~~~~~~~~~~~~
Dialog.c:320:5: note: ‘snprintf’ output between 1 and 1024 bytes into a destination of size 256
snprintf(dialogDisplay, sizeof(dialogDisplay), "%s", nxagentDisplayName);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Diffstat (limited to 'nx-X11/programs/Xserver/composite')
0 files changed, 0 insertions, 0 deletions