[brlcad-commits] SF.net SVN: brlcad:[55656] brlcad/trunk/src/libfb/if_tk.c
Open Source Solid Modeling CAD
Brought to you by:
brlcad
From: <br...@us...> - 2013-06-04 06:27:07
|
Revision: 55656 http://sourceforge.net/p/brlcad/code/55656 Author: brlcad Date: 2013-06-04 06:27:04 +0000 (Tue, 04 Jun 2013) Log Message: ----------- more ctype argument type cleansing Modified Paths: -------------- brlcad/trunk/src/libfb/if_tk.c Modified: brlcad/trunk/src/libfb/if_tk.c =================================================================== --- brlcad/trunk/src/libfb/if_tk.c 2013-06-04 06:05:19 UTC (rev 55655) +++ brlcad/trunk/src/libfb/if_tk.c 2013-06-04 06:27:04 UTC (rev 55656) @@ -113,7 +113,7 @@ /* set debug bit vector */ if (file != NULL) { const char *cp; - for (cp = file; *cp != '\0' && !isdigit(*cp); cp++) + for (cp = file; *cp != '\0' && !isdigit((unsigned char)*cp); cp++) ; sscanf(cp, "%d", &ifp->if_debug); } else { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |