Revision: 77431
http://sourceforge.net/p/brlcad/code/77431
Author: brlcad
Date: 2020-10-14 17:21:24 +0000 (Wed, 14 Oct 2020)
Log Message:
-----------
icv_image_size() takes size_t, not unsigned long. error reported by bob
prohaska (sf sreq# 123)
Modified Paths:
--------------
brlcad/trunk/src/libged/overlay/overlay.c
Modified: brlcad/trunk/src/libged/overlay/overlay.c
===================================================================
--- brlcad/trunk/src/libged/overlay/overlay.c 2020-10-14 01:35:29 UTC (rev
77430)
+++ brlcad/trunk/src/libged/overlay/overlay.c 2020-10-14 17:21:24 UTC (rev
77431)
@@ -241,7 +241,7 @@
bu_vls_printf(gedp->ged_result_str, "unable to stat input
file");
return GED_ERROR;
}
- unsigned long lwidth, lheight;
+ size_t lwidth, lheight;
if (!icv_image_size(NULL, 0, (size_t)sbuf.st_size, type, &lwidth,
&lheight)) {
bu_vls_printf(gedp->ged_result_str, "input image type does not
have dimension information encoded, and libicv was not able to deduce a size.
Please specify image width in pixels with the \"-w\" option and image height in
pixels with the \"-n\" option.\n");
return GED_ERROR;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits