]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/mediactrl_am.cpp
fix GTKGetLabel() and DoApplyWidgetStyle(): children are GtkWidget, not GtkBoxChild
[wxWidgets.git] / src / msw / mediactrl_am.cpp
index 300cb6816dfd3a5ce73421d240ed2c20785f3410..95341cbdffca44567421f3764a99467b380c80a9 100644 (file)
@@ -2020,7 +2020,7 @@ wxLongLong wxAMMediaBackend::GetDuration()
 
         case S_OK:
             // outDuration is in seconds, we need milliseconds
-            return outDuration * 1000;
+            return static_cast<wxLongLong>(outDuration * 1000);
     }
 }