aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ViewStyle.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ViewStyle.h')
-rw-r--r--src/ViewStyle.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ViewStyle.h b/src/ViewStyle.h
index 91b51b2ad..be9d8abfc 100644
--- a/src/ViewStyle.h
+++ b/src/ViewStyle.h
@@ -63,7 +63,7 @@ public:
bool isSet;
ColourOptional(ColourDesired colour_=ColourDesired(0,0,0), bool isSet_=false) : ColourDesired(colour_), isSet(isSet_) {
}
- ColourOptional(uptr_t wParam, sptr_t lParam) : ColourDesired(lParam), isSet(wParam != 0) {
+ ColourOptional(uptr_t wParam, sptr_t lParam) : ColourDesired(static_cast<long>(lParam)), isSet(wParam != 0) {
}
};