Revision: 55118
http://brlcad.svn.sourceforge.net/brlcad/?rev=55118&view=rev
Author: r_weiss
Date: 2013-04-10 22:45:48 +0000 (Wed, 10 Apr 2013)
Log Message:
-----------
Fixed compile error in function bu_open_mapped_file.
Modified Paths:
--------------
brlcad/trunk/src/libbu/mappedfile.c
Modified: brlcad/trunk/src/libbu/mappedfile.c
===================================================================
--- brlcad/trunk/src/libbu/mappedfile.c 2013-04-10 22:37:59 UTC (rev 55117)
+++ brlcad/trunk/src/libbu/mappedfile.c 2013-04-10 22:45:48 UTC (rev 55118)
@@ -107,7 +107,7 @@
bu_semaphore_release(BU_SEM_SYSCALL);
fd = -1;
}
- if (sb.st_size != mp->buflen) {
+ if ((size_t)sb.st_size != mp->buflen) {
bu_log("bu_open_mapped_file(%s) WARNING: File size changed
from %ld to %ld, opening new version.\n", real_path, mp->buflen, sb.st_size);
/* mp doesn't reflect the file any longer. Invalidate. */
mp->appl = "__STALE__";
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits