diff options
author | Silenio Quarti | 2001-06-21 17:14:53 +0000 |
---|---|---|
committer | Silenio Quarti | 2001-06-21 17:14:53 +0000 |
commit | 7693ea47b9c65bf891d77c0087d694694bed3bb3 (patch) | |
tree | f816f27a17512b611778426796b39225ed09201a /bundles/org.eclipse.swt/Eclipse SWT/motif | |
parent | 6c0e3d76ce668620fd159ac504e2b5d9a48852be (diff) | |
download | eclipse.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-x | bundles/org.eclipse.swt/Eclipse SWT/motif/library/swt.c | 4 |
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); |