diff options
| author | Greg Ercolano <erco@seriss.com> | 2021-11-26 09:50:19 -0800 |
|---|---|---|
| committer | Greg Ercolano <erco@seriss.com> | 2021-11-26 09:50:19 -0800 |
| commit | 6fc5c16e1c08d61e34cb4b145663afbbab152e41 (patch) | |
| tree | 48a440c031b2bf9323ef8a3b5e41684cfaf3cef3 /test | |
| parent | 390fa9caa7b426bb60b4dcfa020a2f6c921ddb5b (diff) | |
Fixes warnings about test/icon.cxx in issue #296
Diffstat (limited to 'test')
| -rw-r--r-- | test/icon.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/icon.cxx b/test/icon.cxx index 3bf565ff9..f3c60c82d 100644 --- a/test/icon.cxx +++ b/test/icon.cxx @@ -23,7 +23,7 @@ static Fl_Double_Window *win; void choice_cb(Fl_Widget *, void *v) { Fl_Color c = (Fl_Color)fl_uint(v); - uchar buffer[32*32*3]; + static uchar buffer[32*32*3]; // static: issue #296 Fl_RGB_Image icon(buffer, 32, 32, 3); icon.color_average(c, 0.0); win->icon(&icon); |
