summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/palette.h2
-rw-r--r--src/gui/sdlinput.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/palette.h b/src/gui/palette.h
index de733f838..bd974a94b 100644
--- a/src/gui/palette.h
+++ b/src/gui/palette.h
@@ -204,7 +204,7 @@ class Palette
gradientIndex = rand();
}
- inline int getRGB() const A_WARN_UNUSED
+ inline unsigned int getRGB() const A_WARN_UNUSED
{
return (committedColor.r << 16) | (committedColor.g << 8) |
committedColor.b;
diff --git a/src/gui/sdlinput.cpp b/src/gui/sdlinput.cpp
index 665617c8d..05518e9a6 100644
--- a/src/gui/sdlinput.cpp
+++ b/src/gui/sdlinput.cpp
@@ -313,7 +313,7 @@ MouseButton::Type SDLInput::convertMouseButton(const int button)
#endif
default:
// We have an unknown mouse type which is ignored.
- logger->log("unknown button type: %u", button);
+ logger->log("unknown button type: %d", button);
return MouseButton::EMPTY;
}
}