subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stef...@apache.org
Subject svn commit: r1130525 - /subversion/trunk/subversion/libsvn_subr/svn_string.c
Date Thu, 02 Jun 2011 12:40:23 GMT
Author: stefan2
Date: Thu Jun  2 12:40:23 2011
New Revision: 1130525

URL: http://svn.apache.org/viewvc?rev=1130525&view=rev
Log:
Follow-up to r1130512: Fix conversion warning.

* subversion/libsvn_subr/svn_string.c
  (svn_string_from_stringbuf): use the right target type in cast

Modified:
    subversion/trunk/subversion/libsvn_subr/svn_string.c

Modified: subversion/trunk/subversion/libsvn_subr/svn_string.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_subr/svn_string.c?rev=1130525&r1=1130524&r2=1130525&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_subr/svn_string.c (original)
+++ subversion/trunk/subversion/libsvn_subr/svn_string.c Thu Jun  2 12:40:23 2011
@@ -261,7 +261,7 @@ svn_string_from_stringbuf(svn_stringbuf_
    *
    * Modifying the string character content is fine, though.
    */
-  return (const svn_string_t *)&strbuf->data;
+  return (svn_string_t *)&strbuf->data;
 }
 
 



Mime
View raw message