Revision: 41859
          http://brlcad.svn.sourceforge.net/brlcad/?rev=41859&view=rev
Author:   starseeker
Date:     2010-12-30 18:42:39 +0000 (Thu, 30 Dec 2010)

Log Message:
-----------
Try to make dm_open happy

Modified Paths:
--------------
    brlcad/branches/cmake/src/util/pl-dm.c

Modified: brlcad/branches/cmake/src/util/pl-dm.c
===================================================================
--- brlcad/branches/cmake/src/util/pl-dm.c      2010-12-30 18:38:06 UTC (rev 
41858)
+++ brlcad/branches/cmake/src/util/pl-dm.c      2010-12-30 18:42:39 UTC (rev 
41859)
@@ -1071,7 +1071,7 @@
     av[2] = "sampler_bind_dm";
     av[3] = (char *)NULL;
 
-    if ((dmp = DM_OPEN(INTERP, DM_TYPE_X, 3, av)) == DM_NULL) {
+    if ((dmp = DM_OPEN(INTERP, DM_TYPE_X, 3, (const char **)av)) == DM_NULL) {
        Tcl_AppendResult(INTERP, "Failed to open a display manager\n", (char 
*)NULL);
        return TCL_ERROR;
     }
@@ -1097,7 +1097,7 @@
     av[2] = "sampler_bind_dm";
     av[3] = (char *)NULL;
 
-    if ((dmp = DM_OPEN(INTERP, DM_TYPE_OGL, 3, av)) == DM_NULL) {
+    if ((dmp = DM_OPEN(INTERP, DM_TYPE_OGL, 3, (const char **)av)) == DM_NULL) 
{
        Tcl_AppendResult(INTERP, "Failed to open a display manager\n", (char 
*)NULL);
        return TCL_ERROR;
     }


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

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
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