[brlcad-commits] SF.net SVN: brlcad:[51001] brlcad/trunk/src/other/step
Open Source Solid Modeling CAD
Brought to you by:
brlcad
From: <n_...@us...> - 2012-06-07 21:47:58
|
Revision: 51001 http://brlcad.svn.sourceforge.net/brlcad/?rev=51001&view=rev Author: n_reed Date: 2012-06-07 21:47:51 +0000 (Thu, 07 Jun 2012) Log Message: ----------- warning fixes from SCL git 2179c8a and ca4940e Modified Paths: -------------- brlcad/trunk/src/other/step/include/express/hash.h brlcad/trunk/src/other/step/src/clutils/scl_hash.cc brlcad/trunk/src/other/step/src/express/fedex.c brlcad/trunk/src/other/step/src/express/hash.c brlcad/trunk/src/other/step/src/fedex_plus/fedex_main.c Modified: brlcad/trunk/src/other/step/include/express/hash.h =================================================================== --- brlcad/trunk/src/other/step/include/express/hash.h 2012-06-07 21:43:11 UTC (rev 51000) +++ brlcad/trunk/src/other/step/include/express/hash.h 2012-06-07 21:47:51 UTC (rev 51001) @@ -138,8 +138,8 @@ } * Hash_Table; typedef struct { - int i; /* segment index (i think) */ - int j; /* key index in segment (ditto) */ + unsigned int i; /* segment index (i think) */ + unsigned int j; /* key index in segment (ditto) */ Element p; /* usually the next element to be returned */ Hash_Table table; char type; Modified: brlcad/trunk/src/other/step/src/clutils/scl_hash.cc =================================================================== --- brlcad/trunk/src/other/step/src/clutils/scl_hash.cc 2012-06-07 21:43:11 UTC (rev 51000) +++ brlcad/trunk/src/other/step/src/clutils/scl_hash.cc 2012-06-07 21:47:51 UTC (rev 51001) @@ -203,7 +203,7 @@ void SCL_HASHdestroy( Hash_TableP table ) { - int i, j; + unsigned int i, j; struct Element ** s; struct Element * p, *q; Modified: brlcad/trunk/src/other/step/src/express/fedex.c =================================================================== --- brlcad/trunk/src/other/step/src/express/fedex.c 2012-06-07 21:43:11 UTC (rev 51000) +++ brlcad/trunk/src/other/step/src/express/fedex.c 2012-06-07 21:47:51 UTC (rev 51001) @@ -95,8 +95,7 @@ char EXPRESSgetopt_options[256] = "Bbd:e:i:w:p:rvz"; -static void -usage() { +static void usage( void ) { fprintf( stderr, "usage: %s [-v] [-d #] [-p <object_type>] {-w|-i <warning>} express_file\n", EXPRESSprogram_name ); fprintf( stderr, "where\t-v produces a version description\n" ); fprintf( stderr, "\t-d turns on debugging (\"-d 0\" describes this further\n" ); Modified: brlcad/trunk/src/other/step/src/express/hash.c =================================================================== --- brlcad/trunk/src/other/step/src/express/hash.c 2012-06-07 21:43:11 UTC (rev 51000) +++ brlcad/trunk/src/other/step/src/express/hash.c 2012-06-07 21:47:51 UTC (rev 51001) @@ -279,7 +279,7 @@ void HASHdestroy( Hash_Table table ) { - int i, j; + unsigned int i, j; Segment s; Element p, q; Modified: brlcad/trunk/src/other/step/src/fedex_plus/fedex_main.c =================================================================== --- brlcad/trunk/src/other/step/src/fedex_plus/fedex_main.c 2012-06-07 21:43:11 UTC (rev 51000) +++ brlcad/trunk/src/other/step/src/fedex_plus/fedex_main.c 2012-06-07 21:47:51 UTC (rev 51001) @@ -77,8 +77,7 @@ #include "../express/express.h" #include "../express/resolve.h" -static void -fedex_plus_usage() { +static void fedex_plus_usage( void ) { fprintf( stderr, "usage: %s [-s|-S] [-a|-A] [-c|-C] [-l|-L] [-v] [-d #] [-p <object_type>] {-w|-i <warning>} express_file\n", EXPRESSprogram_name ); fprintf( stderr, "where\t-s or -S uses only single inheritance in the generated C++ classes\n" ); fprintf( stderr, "\t-a or -A generates the early bound access functions for entity classes the old way (without an underscore)\n" ); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |