From 9af1aedcdb4c145dd26350161714d35f30d9dc57 Mon Sep 17 00:00:00 2001
From: DRC <dcommander@users.sourceforge.net>
Date: Fri, 4 Feb 2011 22:13:14 +0000
Subject: [PATCH] Eliminate compiler warnings in Sun Studio

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@340 632fc199-4ca6-4c93-a231-07263d6284db
---
 turbojpeg-jni.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/turbojpeg-jni.c b/turbojpeg-jni.c
index 531ea6e..961f9ef 100644
--- a/turbojpeg-jni.c
+++ b/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();
 
-- 
2.40.0