[haiku-commits] r37258 - haiku/trunk/src/system/libroot/os

  • From: zharik@xxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Fri, 25 Jun 2010 22:21:00 +0200 (CEST)

Author: siarzhuk
Date: 2010-06-25 22:20:59 +0200 (Fri, 25 Jun 2010)
New Revision: 37258
Changeset: http://dev.haiku-os.org/changeset/37258/haiku

Modified:
   haiku/trunk/src/system/libroot/os/find_directory.cpp
Log:
fix for "deprecated conversion from string constant to 'char*'" error.


Modified: haiku/trunk/src/system/libroot/os/find_directory.cpp
===================================================================
--- haiku/trunk/src/system/libroot/os/find_directory.cpp        2010-06-25 
14:27:20 UTC (rev 37257)
+++ haiku/trunk/src/system/libroot/os/find_directory.cpp        2010-06-25 
20:20:59 UTC (rev 37258)
@@ -150,7 +150,7 @@
        struct fs_info fsInfo;
        struct stat st;
        char *buffer = NULL;
-       char *home = NULL;
+       const char *home = NULL;
        const char *templatePath = NULL;
 
        /* as with the R5 version, no on-stack buffer */


Other related posts:

  • » [haiku-commits] r37258 - haiku/trunk/src/system/libroot/os - zharik