diff options
author | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2011-09-16 11:00:45 +0200 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2011-09-16 11:00:45 +0200 |
commit | 85a0bb2e54df2a6be8bc21f6c5bb74a1898d40e4 (patch) | |
tree | 0648c8934fb874b1b03b93d1769cdf97fe33e023 /src/lib/VSD11Parser.cpp | |
parent | 98cdde3823742e6e31032b7d989af21ee6416f4f (diff) |
Trying to make a bit order with integer types' width
Diffstat (limited to 'src/lib/VSD11Parser.cpp')
-rw-r--r-- | src/lib/VSD11Parser.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/VSD11Parser.cpp b/src/lib/VSD11Parser.cpp index 1ee0df0..f791d64 100644 --- a/src/lib/VSD11Parser.cpp +++ b/src/lib/VSD11Parser.cpp @@ -159,10 +159,10 @@ void libvisio::VSD11Parser::readFillAndShadow(WPXInputStream *input) { unsigned char colourIndexFG = readU8(input); input->seek(3, WPX_SEEK_CUR); - unsigned int fillFGTransparency = readU8(input); + unsigned char fillFGTransparency = readU8(input); unsigned char colourIndexBG = readU8(input); input->seek(3, WPX_SEEK_CUR); - unsigned int fillBGTransparency = readU8(input); + unsigned char fillBGTransparency = readU8(input); unsigned char fillPattern = readU8(input); input->seek(1, WPX_SEEK_CUR); Colour shfgc; // Shadow Foreground Colour @@ -192,10 +192,10 @@ void libvisio::VSD11Parser::readFillStyle(WPXInputStream *input) { unsigned char colourIndexFG = readU8(input); input->seek(3, WPX_SEEK_CUR); - unsigned int fillFGTransparency = readU8(input); + unsigned char fillFGTransparency = readU8(input); unsigned char colourIndexBG = readU8(input); input->seek(3, WPX_SEEK_CUR); - unsigned int fillBGTransparency = readU8(input); + unsigned char fillBGTransparency = readU8(input); unsigned char fillPattern = readU8(input); input->seek(1, WPX_SEEK_CUR); Colour shfgc; // Shadow Foreground Colour |