From 2ddfd9d9492d9fc1df111ec9211dd1be4d424c35 Mon Sep 17 00:00:00 2001 From: wcout Date: Sat, 21 Jan 2023 17:27:58 +0100 Subject: Animated GIF support (Fl_Anim_GIF_Image class) (#375) --- test/utf8.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/utf8.cxx') diff --git a/test/utf8.cxx b/test/utf8.cxx index 2f2d928a1..8cd8763eb 100644 --- a/test/utf8.cxx +++ b/test/utf8.cxx @@ -609,7 +609,7 @@ int main(int argc, char** argv) end_list /= 16; } argc = 1; - for (long y = off; y < end_list; y++) { + for (int y = off; y < end_list; y++) { int o = 0; char bu[25]; // index label char buf[16 * 6]; // utf8 text @@ -622,7 +622,7 @@ int main(int argc, char** argv) i++; } buf[o] = '\0'; - snprintf(bu, sizeof(bu), "0x%06lX", y * 16); + snprintf(bu, sizeof(bu), "0x%06X", y * 16); Fl_Input *b = new Fl_Input(200,(y-off)*25,80,25); b->textfont(FL_COURIER); b->value(fl_strdup(bu)); -- cgit v1.2.3