Revision: 55325
http://sourceforge.net/p/brlcad/code/55325
Author: carlmoore
Date: 2013-05-08 13:32:03 +0000 (Wed, 08 May 2013)
Log Message:
-----------
fix type warnings
Modified Paths:
--------------
brlcad/trunk/src/liboptical/sh_text.c
Modified: brlcad/trunk/src/liboptical/sh_text.c
===================================================================
--- brlcad/trunk/src/liboptical/sh_text.c 2013-05-08 13:25:46 UTC (rev
55324)
+++ brlcad/trunk/src/liboptical/sh_text.c 2013-05-08 13:32:03 UTC (rev
55325)
@@ -175,7 +175,7 @@
/* check size of object */
if (texture->tx_binunifp->count < size) {
- bu_log("\nWARNING: %V needs %d bytes, binary object only has
%d\n", texture->tx_name, size, texture->tx_binunifp->count);
+ bu_log("\nWARNING: %V needs %d bytes, binary object only has
%lu\n", texture->tx_name, size, texture->tx_binunifp->count);
} else if (texture->tx_binunifp->count > size) {
bu_log("\nWARNING: Binary object is larger than specified
texture size\n\tBinary Object: %zu pixels\n\tSpecified Texture Size: %zu
pixels\n...continuing to load using image subsection...",
texture->tx_binunifp->count);
}
@@ -193,9 +193,9 @@
return -1; /* FAIL */
if (texture->tx_mp->buflen < size) {
- bu_log("\nWARNING: %V needs %d bytes, file only has %d\n",
&texture->tx_name, size, texture->tx_mp->buflen);
+ bu_log("\nWARNING: %V needs %d bytes, file only has %lu\n",
&texture->tx_name, size, texture->tx_mp->buflen);
} else if (texture->tx_mp->buflen > size) {
- bu_log("\nWARNING: Texture file size is larger than specified
texture size\n\tInput File: %zu pixels\n\tSpecified Texture Size: %d
pixels\n...continuing to load using image subsection...",
texture->tx_mp->buflen, size);
+ bu_log("\nWARNING: Texture file size is larger than specified
texture size\n\tInput File: %zu pixels\n\tSpecified Texture Size: %lu
pixels\n...continuing to load using image subsection...",
texture->tx_mp->buflen, size);
}
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and
their applications. This 200-page book is written by three acclaimed
leaders in the field. The early access version is available now.
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits