X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/rigol/blobdiff_plain/ad9fbc05e664d9e4028ec9c17fcc7308a4524114..b131d433f9b984b50266298be6f0cf7f9a13b6fb:/commands.c diff --git a/commands.c b/commands.c index 83df9c4..f3dc86c 100644 --- a/commands.c +++ b/commands.c @@ -121,7 +121,7 @@ unsigned char* get_lcd(struct usb_dev_handle *sc, int *imglen, int keylock) l = usbtmc_sendscpi(sc, ":LCD:DATA?", screen, sizeof(screen)); if (l != sizeof(screen)) { - printf ("hmm. didnt' get %d bytes, but %d\n\n", sizeof(screen), l); + printf ("hmm. didnt' get %d bytes, but %d\n\n", (int)sizeof(screen), l); } png = lcd2png(screen, imglen);