From 9ac401fbe5c80f710757926920d734e93a7e159b Mon Sep 17 00:00:00 2001 From: mickeyl Date: Sat, 24 Apr 2004 11:04:03 +0000 Subject: gcc3.4 fixlet --- (limited to 'libopie2') diff --git a/libopie2/examples/opiecore/onotifydemo/onotifydemo.cpp b/libopie2/examples/opiecore/onotifydemo/onotifydemo.cpp index 74a8158..b9ff9db 100644 --- a/libopie2/examples/opiecore/onotifydemo/onotifydemo.cpp +++ b/libopie2/examples/opiecore/onotifydemo/onotifydemo.cpp @@ -101,7 +101,7 @@ public: } public slots: - void modifierClicked( int modifier ) { (int)m ^= modifier; }; + void modifierClicked( int modifier ) { m = static_cast( (int)m ^ int(modifier) ); }; void addSingle() { addTrigger(); }; void addMulti() { addTrigger( true ); }; -- cgit v0.9.0.2