Revision: 42300
          http://brlcad.svn.sourceforge.net/brlcad/?rev=42300&view=rev
Author:   tbrowder2
Date:     2011-01-15 13:00:39 +0000 (Sat, 15 Jan 2011)

Log Message:
-----------
add cast to unsigned to quell compiler warnings

Modified Paths:
--------------
    brlcad/trunk/src/util/bwcrop.c

Modified: brlcad/trunk/src/util/bwcrop.c
===================================================================
--- brlcad/trunk/src/util/bwcrop.c      2011-01-15 12:59:20 UTC (rev 42299)
+++ brlcad/trunk/src/util/bwcrop.c      2011-01-15 13:00:39 UTC (rev 42300)
@@ -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 ((unsigned)abs((int)(ury - uly)) > buflines/2 || 
(unsigned)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.

------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to