Revision: 42043
http://brlcad.svn.sourceforge.net/brlcad/?rev=42043&view=rev
Author: starseeker
Date: 2011-01-09 14:16:49 +0000 (Sun, 09 Jan 2011)
Log Message:
-----------
compiler warning about comparing types - cast abs to size_t
Modified Paths:
--------------
brlcad/branches/cmake/src/util/bwcrop.c
Modified: brlcad/branches/cmake/src/util/bwcrop.c
===================================================================
--- brlcad/branches/cmake/src/util/bwcrop.c 2011-01-09 13:56:58 UTC (rev
42042)
+++ brlcad/branches/cmake/src/util/bwcrop.c 2011-01-09 14:16:49 UTC (rev
42043)
@@ -172,7 +172,7 @@
init_buffer(scanlen);
/* Check for silly buffer syndrome */
- if (abs((int)(ury - uly)) > buflines/2 || abs((int)(lry - lly)) >
buflines/2) {
+ if ((size_t)abs((int)(ury - uly)) > buflines/2 || (size_t)abs((int)(lry -
lly)) > buflines/2) {
fprintf(stderr, "bwcrop: Warning: You are skewing enough in the y
direction\n");
fprintf(stderr, "bwcrop: relative to my buffer size that I will exhibit
silly\n");
fprintf(stderr, "bwcrop: buffer syndrome (two replacements per
scanline).\n");
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web. Learn how to
best implement a security strategy that keeps consumers' information secure
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits