summaryrefslogtreecommitdiff
path: root/src/lib/VSD11Parser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/VSD11Parser.cpp')
-rw-r--r--src/lib/VSD11Parser.cpp8
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