DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2308
Version: 1.3.0


Here is a patch that is generally a better choice as the current pointer
cast:
===================================================================
--- src/fl_open_uri.cxx (revision 7637)
+++ src/fl_open_uri.cxx (working copy)
@@ -114,7 +114,7 @@
 #ifdef WIN32
   if (msg) snprintf(msg, msglen, "open %s", uri);
 
-  return (int)ShellExecute(HWND_DESKTOP, "open", uri, NULL, NULL,
SW_SHOW) > 32;
+  return (int)(ShellExecute(HWND_DESKTOP, "open", uri, NULL, NULL,
SW_SHOW) > (void*)32);
 
 #elif defined(__APPLE__)
   char *argv[3];                       // Command-line arguments


Link: http://www.fltk.org/str.php?L2308
Version: 1.3.0

_______________________________________________
fltk-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-bugs

Reply via email to