You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucy.apache.org by ma...@apache.org on 2010/10/26 05:45:20 UTC

[lucy-commits] svn commit: r1027356 - /incubator/lucy/trunk/perl/xs/KinoSearch/Util/Json.c

Author: marvin
Date: Tue Oct 26 03:45:20 2010
New Revision: 1027356

URL: http://svn.apache.org/viewvc?rev=1027356&view=rev
Log:
Add a cast so that MSVC compiles under C++.

Modified:
    incubator/lucy/trunk/perl/xs/KinoSearch/Util/Json.c

Modified: incubator/lucy/trunk/perl/xs/KinoSearch/Util/Json.c
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/perl/xs/KinoSearch/Util/Json.c?rev=1027356&r1=1027355&r2=1027356&view=diff
==============================================================================
--- incubator/lucy/trunk/perl/xs/KinoSearch/Util/Json.c (original)
+++ incubator/lucy/trunk/perl/xs/KinoSearch/Util/Json.c Tue Oct 26 03:45:20 2010
@@ -63,7 +63,7 @@ Json_encode_string(CharBuf *string)
 CharBuf*
 Json_decode_string(CharBuf *json)
 {
-    return Host_callback_obj(JSON, "decode_string", 1, 
+    return (CharBuf*)Host_callback_obj(JSON, "decode_string", 1, 
         ARG_STR("json", json));
 }