[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdegraphics/kfile-plugins/jpeg
From:       Waldo Bastian <bastian () kde ! org>
Date:       2004-02-01 23:20:30
Message-ID: 20040201232030.4C2019954 () office ! kde ! org
[Download RAW message or body]

CVS commit by waba: 

Fix signed -> unsigned conversion


  M +2 -2      exif.cpp   1.6


--- kdegraphics/kfile-plugins/jpeg/exif.cpp  #1.5:1.6
@@ -252,6 +252,6 @@ int ExifData::ReadJpegSections (QFile & 
 
         // Read the length of the section.
-        lh = infile.getch();
-        ll = infile.getch();
+        lh = (uchar) infile.getch();
+        ll = (uchar) infile.getch();
 
         itemlen = (lh << 8) | ll;


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic