Revision: 41386
          http://brlcad.svn.sourceforge.net/brlcad/?rev=41386&view=rev
Author:   starseeker
Date:     2010-11-16 20:51:17 +0000 (Tue, 16 Nov 2010)

Log Message:
-----------
If we're printing %ld, apparently need to case siz from size_t to long int on 
BSD

Modified Paths:
--------------
    brlcad/trunk/src/libbu/malloc.c

Modified: brlcad/trunk/src/libbu/malloc.c
===================================================================
--- brlcad/trunk/src/libbu/malloc.c     2010-11-16 19:54:30 UTC (rev 41385)
+++ brlcad/trunk/src/libbu/malloc.c     2010-11-16 20:51:17 UTC (rev 41386)
@@ -441,7 +441,7 @@
      * requested memory and we need to bomb.
      */
     if (UNLIKELY(!ptr)) {
-       fprintf(stderr, "bu_realloc(): unable to allocate requested memory of 
size %ld, %s\n", siz, str);
+       fprintf(stderr, "bu_realloc(): unable to allocate requested memory of 
size %ld, %s\n", (long int)siz, str);
        bu_bomb("bu_realloc(): unable to allocate requested memory.\n");
     }
 


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to