You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by mt...@apache.org on 2009/04/20 09:40:13 UTC
svn commit: r766609 -
/commons/sandbox/runtime/trunk/src/main/native/test/testcase.c
Author: mturk
Date: Mon Apr 20 07:40:13 2009
New Revision: 766609
URL: http://svn.apache.org/viewvc?rev=766609&view=rev
Log:
Use UTF-8 macro instead platform one
Modified:
commons/sandbox/runtime/trunk/src/main/native/test/testcase.c
Modified: commons/sandbox/runtime/trunk/src/main/native/test/testcase.c
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/test/testcase.c?rev=766609&r1=766608&r2=766609&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/test/testcase.c (original)
+++ commons/sandbox/runtime/trunk/src/main/native/test/testcase.c Mon Apr 20 07:40:13 2009
@@ -82,9 +82,9 @@
ACR_JNI_EXPORT_DECLARE(jint, TestPrivate, test006)(ACR_JNISTDARGS, jstring s)
{
jint l = 0;
- WITH_CSTR(s) {
+ WITH_USTR(s) {
l = (jint)strlen(J2S(s));
- } END_WITH_CSTR(s);
+ } END_WITH_USTR(s);
return l;
}