mirror of
https://github.com/libjpeg-turbo/libjpeg-turbo.git
synced 2026-01-12 00:04:17 +08:00
JNI: Fix Windows CI build failure
(introduced by previous commit) jint and int are technically the same thing, but certain compilers are a bit pedantic.
This commit is contained in:
@@ -1272,11 +1272,11 @@ JNIEXPORT void JNICALL Java_org_libjpegturbo_turbojpeg_TJDecompressor_destroy
|
||||
/* Private image I/O routines (used only by TJBench) */
|
||||
JNIEXPORT jobject JNICALL Java_org_libjpegturbo_turbojpeg_TJCompressor_loadSourceImage
|
||||
(JNIEnv *env, jobject obj, jint precision, jstring jfilename, jint align,
|
||||
jint pixelFormat)
|
||||
jint jPixelFormat)
|
||||
{
|
||||
tjhandle handle = NULL;
|
||||
void *dstBuf = NULL, *jdstPtr;
|
||||
int width, height;
|
||||
int width, height, pixelFormat = jPixelFormat;
|
||||
jsize arraySize, pitch;
|
||||
const char *filename = NULL;
|
||||
jboolean isCopy;
|
||||
|
||||
Reference in New Issue
Block a user