From d2fbc52d6c88fd01fd8283158ddcb0b45a36c4a4 Mon Sep 17 00:00:00 2001 From: Nicolas F Date: Wed, 30 Apr 2014 11:30:44 +0200 Subject: [PATCH] Change unsigned INT16 to UINT16 Addresses issue #642 --- libImaging/Gif.h | 2 +- libImaging/Lzw.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libImaging/Gif.h b/libImaging/Gif.h index 85d428b0d..2cb95efd2 100644 --- a/libImaging/Gif.h +++ b/libImaging/Gif.h @@ -59,7 +59,7 @@ typedef struct { unsigned char buffer[GIFTABLE]; /* Symbol table */ - unsigned INT16 link[GIFTABLE]; + UINT16 link[GIFTABLE]; unsigned char data[GIFTABLE]; int next; diff --git a/libImaging/Lzw.h b/libImaging/Lzw.h index 7d087ac47..8fc30bd7f 100644 --- a/libImaging/Lzw.h +++ b/libImaging/Lzw.h @@ -45,7 +45,7 @@ typedef struct { unsigned char buffer[LZWTABLE]; /* Symbol table */ - unsigned INT16 link[LZWTABLE]; + UINT16 link[LZWTABLE]; unsigned char data[LZWTABLE]; int next;