• Ulrich Sibiller's avatar
    NXwindow.c: fix compiler warning · d8f5e647
    Ulrich Sibiller authored
    NXwindow.c:265:27: warning: ‘%d’ directive writing between 1 and 11 bytes into a region of size 10 [-Wformat-overflow=]
           sprintf(artsd_port,"%d", nPort);
                               ^~
    NXwindow.c:265:26: note: directive argument in the range [-2147476648, 2147483647]
           sprintf(artsd_port,"%d", nPort);
                              ^~~~
    NXwindow.c:265:7: note: ‘sprintf’ output between 2 and 12 bytes into a destination of size 10
           sprintf(artsd_port,"%d", nPort);
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    d8f5e647
NXwindow.c 31.9 KB