Revision: 55324
          http://sourceforge.net/p/brlcad/code/55324
Author:   phoenixyjll
Date:     2013-05-08 13:25:46 +0000 (Wed, 08 May 2013)
Log Message:
-----------
MS Visual Studio returns const char * in strrchr.

Modified Paths:
--------------
    brlcad/trunk/src/libged/edit_metaball.c

Modified: brlcad/trunk/src/libged/edit_metaball.c
===================================================================
--- brlcad/trunk/src/libged/edit_metaball.c     2013-05-08 13:21:01 UTC (rev 
55323)
+++ brlcad/trunk/src/libged/edit_metaball.c     2013-05-08 13:25:46 UTC (rev 
55324)
@@ -226,7 +226,7 @@
        return GED_ERROR;
     }
 
-    if ((last = strrchr(argv[1], '/')) == NULL)
+    if ((last = (char *)strrchr(argv[1], '/')) == NULL)
        last = (char *)argv[1];
     else
        ++last;
@@ -352,7 +352,7 @@
        return GED_ERROR;
     }
 
-    if ((last = strrchr(argv[1], '/')) == NULL)
+    if ((last = (char *)strrchr(argv[1], '/')) == NULL)
        last = (char *)argv[1];
     else
        ++last;
@@ -486,7 +486,7 @@
        return GED_ERROR;
     }
 
-    if ((last = strrchr(argv[1], '/')) == NULL)
+    if ((last = (char *)strrchr(argv[1], '/')) == NULL)
        last = (char *)argv[1];
     else
        ++last;
@@ -583,7 +583,7 @@
        ++argv;
     }
 
-    if ((last = strrchr(argv[1], '/')) == NULL)
+    if ((last = (char *)strrchr(argv[1], '/')) == NULL)
        last = (char *)argv[1];
     else
        ++last;

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


------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to