From 55f3df268c0f6e2fabc055bef51c195e51dd8716 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Tue, 16 Nov 2021 21:21:23 +0100 Subject: Fix remaining VS compiler warnings in example programs --- examples/chart-simple.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/chart-simple.cxx') diff --git a/examples/chart-simple.cxx b/examples/chart-simple.cxx index 3f05b3631..6898ce005 100644 --- a/examples/chart-simple.cxx +++ b/examples/chart-simple.cxx @@ -31,7 +31,7 @@ Fl_Choice *G_choice = 0; // Fl_Choice callback for changing chart type() static void chart_type_cb(Fl_Widget *w, void*) { const Fl_Menu_Item *item = G_choice->mvalue(); // item picked - G_chart->type( item->argument() ); // apply change + G_chart->type( (uchar)item->argument() ); // apply change G_chart->redraw(); // printf("Choice: '%s', argument=%ld\n", G_choice->text(), item->argument()); } -- cgit v1.2.3