Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSilenio Quarti2001-06-21 17:14:53 +0000
committerSilenio Quarti2001-06-21 17:14:53 +0000
commit7693ea47b9c65bf891d77c0087d694694bed3bb3 (patch)
treef816f27a17512b611778426796b39225ed09201a /bundles/org.eclipse.swt/Eclipse SWT/motif
parent6c0e3d76ce668620fd159ac504e2b5d9a48852be (diff)
downloadeclipse.platform.swt-7693ea47b9c65bf891d77c0087d694694bed3bb3.tar.gz
eclipse.platform.swt-7693ea47b9c65bf891d77c0087d694694bed3bb3.tar.xz
eclipse.platform.swt-7693ea47b9c65bf891d77c0087d694694bed3bb3.zip
*** empty log message ***
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/motif')
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT/motif/library/swt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/motif/library/swt.c b/bundles/org.eclipse.swt/Eclipse SWT/motif/library/swt.c
index 99d97120cf..2eee321d95 100755
--- a/bundles/org.eclipse.swt/Eclipse SWT/motif/library/swt.c
+++ b/bundles/org.eclipse.swt/Eclipse SWT/motif/library/swt.c
@@ -8015,7 +8015,7 @@ JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_motif_OS_read
if (buf)
buf1 = (*env)->GetByteArrayElements(env, buf, NULL);
- rc = (jint) read(filedes, (char *)buf, nbyte);
+ rc = (jint) read(filedes, (char *)buf1, nbyte);
if (buf)
(*env)->ReleaseByteArrayElements(env, buf, buf1, 0);
@@ -8038,7 +8038,7 @@ JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_motif_OS_write
if (buf)
buf1 = (*env)->GetByteArrayElements(env, buf, NULL);
- rc = (jint) write(filedes, (char *)buf, nbyte);
+ rc = (jint) write(filedes, (char *)buf1, nbyte);
if (buf)
(*env)->ReleaseByteArrayElements(env, buf, buf1, 0);

Back to the top