diff options
| author | Rasmus Lerdorf <rasmus@php.net> | 2002-03-02 08:37:28 +0000 | 
|---|---|---|
| committer | Rasmus Lerdorf <rasmus@php.net> | 2002-03-02 08:37:28 +0000 | 
| commit | 15ba6402bdc15f86d7614dd973c82bb387d35473 (patch) | |
| tree | a1cd75c0d21ba6e92d49882d685d6e060320cad1 | |
| parent | 9981d06217bb56be26d92c4dc15fabf7ddedc36c (diff) | |
| download | php-git-15ba6402bdc15f86d7614dd973c82bb387d35473.tar.gz | |
Fix a couple of warnings
| -rw-r--r-- | ext/exif/exif.c | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/exif/exif.c b/ext/exif/exif.c index e453b9f328..c9d0a82987 100644 --- a/ext/exif/exif.c +++ b/ext/exif/exif.c @@ -634,7 +634,7 @@ static int ProcessExifComment(char **pszInfoPtr,char *szValuePtr,int ByteCount)  	char  mbBuffer[MB_CUR_MAX];  	/* Copy the comment */ -	if ( ByteCount>8 && !memcmp(szValuePtr, "UNICODE\0", 8) || !memcmp(szValuePtr, "JIS\0\0\0\0\0", 8)) { +	if ( ((ByteCount>8) && !memcmp(szValuePtr, "UNICODE\0", 8)) || !memcmp(szValuePtr, "JIS\0\0\0\0\0", 8)) {  		/* treat JIS encoding as if it where UNICODE */  		szValuePtr = szValuePtr+8;  		ByteCount -= 8; @@ -736,7 +736,7 @@ static int CopyExifString(char **pszInfoPtr,char *szValuePtr,int ByteCount) {  static void ProcessExifDir(ImageInfoType *ImageInfo, char *DirStart, char *OffsetBase, unsigned ExifLength, char *LastExifRefd, int ReadThumbnail)  {  	int de; -	int a,l; +	int l;  	int NumDirEntries;  	int NextDirOffset;  | 
