Revision: 42093
          http://brlcad.svn.sourceforge.net/brlcad/?rev=42093&view=rev
Author:   brlcad
Date:     2011-01-11 22:11:08 +0000 (Tue, 11 Jan 2011)

Log Message:
-----------
static init no-go

Modified Paths:
--------------
    brlcad/trunk/src/adrt/load.c

Modified: brlcad/trunk/src/adrt/load.c
===================================================================
--- brlcad/trunk/src/adrt/load.c        2011-01-11 22:10:11 UTC (rev 42092)
+++ brlcad/trunk/src/adrt/load.c        2011-01-11 22:11:08 UTC (rev 42093)
@@ -81,7 +81,7 @@
 }
 
 int
-slave_load (struct tie_s *tie, void *data, uint32_t dlen)
+slave_load(struct tie_s *tie, void *data)
 {
     char *meh = (char *)data;
 
@@ -93,7 +93,9 @@
        case ADRT_LOAD_FORMAT_G:        /* given a filename and 1 toplevel 
region, recursively load from a .g file */
            {
                const char *db = NULL; /* FIXME */
-               const char *ugh[2] = { (char *)(meh + 1 + sizeof(int)), NULL };
+               const char *ugh[2];
+               ugh[0] = (char *)(meh + 1 + sizeof(int));
+               ugh[1] = NULL;
                return load_g ( tie, db, *(int *)(meh + 1), ugh, NULL);
            }
        case ADRT_LOAD_FORMAT_REG:      /* special magic for catching data on 
the pipe */


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