subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r1456336 - /subversion/trunk/subversion/bindings/javahl/native/DiffOptions.cpp
Date Thu, 14 Mar 2013 06:04:52 GMT
Author: brane
Date: Thu Mar 14 06:04:52 2013
New Revision: 1456336

URL: http://svn.apache.org/r1456336
Log:
* subversion/bindings/javahl/native/DiffOptions.cpp (get_diff_options_flags):
   Meh. Use the right type of field accessor.

Modified:
    subversion/trunk/subversion/bindings/javahl/native/DiffOptions.cpp

Modified: subversion/trunk/subversion/bindings/javahl/native/DiffOptions.cpp
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/bindings/javahl/native/DiffOptions.cpp?rev=1456336&r1=1456335&r2=1456336&view=diff
==============================================================================
--- subversion/trunk/subversion/bindings/javahl/native/DiffOptions.cpp (original)
+++ subversion/trunk/subversion/bindings/javahl/native/DiffOptions.cpp Thu Mar 14 06:04:52
2013
@@ -42,7 +42,7 @@ static jint get_diff_options_flags(jobje
         return 0;
     }
 
-  const jint flags = env->GetLongField(joptions, fid);
+  const jint flags = env->GetIntField(joptions, fid);
   if (JNIUtil::isJavaExceptionThrown())
     return 0;
   return flags;



Mime
View raw message