Revision: 41185
http://brlcad.svn.sourceforge.net/brlcad/?rev=41185&view=rev
Author: brlcad
Date: 2010-10-29 18:52:46 +0000 (Fri, 29 Oct 2010)
Log Message:
-----------
unsigned/signed demismatch
Modified Paths:
--------------
brlcad/trunk/src/conv/euclid/g-euclid.c
brlcad/trunk/src/conv/euclid/g-euclid1.c
Modified: brlcad/trunk/src/conv/euclid/g-euclid.c
===================================================================
--- brlcad/trunk/src/conv/euclid/g-euclid.c 2010-10-29 18:47:13 UTC (rev
41184)
+++ brlcad/trunk/src/conv/euclid/g-euclid.c 2010-10-29 18:52:46 UTC (rev
41185)
@@ -101,7 +101,7 @@
}
ptr = strchr( buffer, '.' );
- if ( (ptr - buffer) > length )
+ if ( (size_t)(ptr - buffer) > length )
{
bu_exit(1, "ERROR: Value (%f) too large for format length (%d)\n", f,
length );
}
Modified: brlcad/trunk/src/conv/euclid/g-euclid1.c
===================================================================
--- brlcad/trunk/src/conv/euclid/g-euclid1.c 2010-10-29 18:47:13 UTC (rev
41184)
+++ brlcad/trunk/src/conv/euclid/g-euclid1.c 2010-10-29 18:52:46 UTC (rev
41185)
@@ -93,7 +93,7 @@
}
ptr = strchr( buffer, '.' );
- if ( (ptr - buffer) > length )
+ if ( (size_t)(ptr - buffer) > length )
{
bu_exit(1, "ERROR: Value (%f) too large for format length (%d)\n", f,
length );
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits