aboutsummaryrefslogtreecommitdiffstats
path: root/vncviewer/fltk/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'vncviewer/fltk/util.h')
-rw-r--r--vncviewer/fltk/util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vncviewer/fltk/util.h b/vncviewer/fltk/util.h
index 87765396..9ce3c7aa 100644
--- a/vncviewer/fltk/util.h
+++ b/vncviewer/fltk/util.h
@@ -97,7 +97,7 @@ static inline size_t fltk_menu_escape(const char *in, char *out, size_t maxlen)
/* Helper to add menu entries safely */
static inline void fltk_menu_add(Fl_Menu_ *menu, const char *text,
int shortcut, Fl_Callback *cb,
- void *data = 0, int flags = 0)
+ void *data=nullptr, int flags=0)
{
char buffer[1024];