diff options
author | dcommander <dcommander@3789f03b-4d11-0410-bbf8-ca57d06f2519> | 2011-02-04 22:13:14 +0000 |
---|---|---|
committer | dcommander <dcommander@3789f03b-4d11-0410-bbf8-ca57d06f2519> | 2011-02-04 22:13:14 +0000 |
commit | c226897fb15ffeeb35d3c46d8831854f78e9dd7e (patch) | |
tree | d6053dd988d3e28e72ad9d29bca286e52151546a /trunk/turbojpeg-jni.c | |
parent | 33f3a06bada341bc61c2e14227a75b47722ee8bb (diff) |
Eliminate compiler warnings in Sun Studio
git-svn-id: https://libjpeg-turbo.svn.sourceforge.net/svnroot/libjpeg-turbo@340 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'trunk/turbojpeg-jni.c')
-rw-r--r-- | trunk/turbojpeg-jni.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/trunk/turbojpeg-jni.c b/trunk/turbojpeg-jni.c index 531ea6e..961f9ef 100644 --- a/trunk/turbojpeg-jni.c +++ b/trunk/turbojpeg-jni.c @@ -80,7 +80,7 @@ JNIEXPORT jlong JNICALL Java_tjCompressor_Compress { tjhandle handle=0; unsigned long size=0; - jbyte *srcbuf=NULL, *dstbuf=NULL; + unsigned char *srcbuf=NULL, *dstbuf=NULL; gethandle(); @@ -137,7 +137,7 @@ JNIEXPORT jobject JNICALL Java_tjDecompressor_DecompressHeader jclass jhicls=NULL; jfieldID fid; tjhandle handle=0; - jbyte *srcbuf=NULL; + unsigned char *srcbuf=NULL; int width=0, height=0, jpegsubsamp=-1; jobject jhiobj=NULL; @@ -172,7 +172,7 @@ JNIEXPORT void JNICALL Java_tjDecompressor_Decompress jint width, jint pitch, jint height, jint pixelsize, jint flags) { tjhandle handle=0; - jbyte *srcbuf=NULL, *dstbuf=NULL; + unsigned char *srcbuf=NULL, *dstbuf=NULL; gethandle(); |