Fix "int-in-bool-context" compile errors
diff --git a/common/rfb/SMsgWriter.cxx b/common/rfb/SMsgWriter.cxx
index 2d4998b..6ef7692 100644
--- a/common/rfb/SMsgWriter.cxx
+++ b/common/rfb/SMsgWriter.cxx
@@ -528,7 +528,7 @@
   os->writeU16(width);
   os->writeU16(height);
   os->writeU32(pseudoEncodingXCursor);
-  if (width * height) {
+  if (width * height > 0) {
     os->writeU8(255);
     os->writeU8(255);
     os->writeU8(255);