Make an int -> UINT conversion explicit that MSVC /W4 complains about
authoraroben <aroben@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 1 Jul 2007 04:52:21 +0000 (04:52 +0000)
committeraroben <aroben@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 1 Jul 2007 04:52:21 +0000 (04:52 +0000)
Reviewed by John and Oliver.

No regression test possible.

* platform/win/SoundWin.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@23900 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/ChangeLog
WebCore/platform/win/SoundWin.cpp

index 028b3ce6e1e185402afa1b9c3857c318a4065c2b..292cd72af402360aa91bf71cc9211a700565490a 100644 (file)
@@ -1,5 +1,15 @@
 2007-06-30  Adam Roben  <aroben@apple.com>
 
+        Make an int -> UINT conversion explicit that MSVC /W4 complains about
+
+        Reviewed by John and Oliver.
+
+        No regression test possible.
+
+        * platform/win/SoundWin.cpp:
+
+2007-06-29  Adam Roben  <aroben@apple.com>
+
         Remove unreachable code uncovered by MSVC /W4
 
         Reviewed by Oliver.
index 2667e08c1ecb671378b6b4cbf233d1822950ab75..443e7d9b6735c968d8fc8276770496b28efdcb41 100644 (file)
@@ -30,7 +30,7 @@
 
 namespace WebCore {
 
-void systemBeep() { MessageBeep(-1); }
+void systemBeep() { MessageBeep(static_cast<UINT>(-1)); }
 
 } // namespace WebCore