summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaesung Chung <jaesung@google.com>2016-01-25 20:29:17 +0900
committerJaesung Chung <jaesung@google.com>2016-01-26 12:04:41 +0900
commit8c994bfaa3233aa3f018c5664444b0ec65fafadd (patch)
tree55b027828f1e17ba03a48e81bb48741118850a25
parentd42bb6218a583cd78a4fa49271f605b77d7b0246 (diff)
downloadjhead-8c994bfaa3233aa3f018c5664444b0ec65fafadd.tar.gz
Fix compile warnings
Change-Id: I9deefb474b4dd43f4b421f4cff6ee9719bd59aa1
-rwxr-xr-xjpgfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/jpgfile.c b/jpgfile.c
index 214c888..8cc8125 100755
--- a/jpgfile.c
+++ b/jpgfile.c
@@ -816,7 +816,7 @@ int WriteJpegFile(const char * FileName)
}
int writeOk = FALSE;
- int nWrite = 0;
+ size_t nWrite = 0;
// Write all the misc sections
for (a=0;a<SectionsRead-1;a++){
fputc(0xff,outfile);