From aa670203266a30964f77202b016fefc76484e575 Mon Sep 17 00:00:00 2001
From: Leon Styhre <leon@leonstyhre.com>
Date: Sun, 4 Jul 2021 21:34:21 +0200
Subject: [PATCH] (Windows) Fixed an MSVC compiler warning.

---
 es-core/src/InputManager.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/es-core/src/InputManager.h b/es-core/src/InputManager.h
index f2810f4c5..b675db2e0 100644
--- a/es-core/src/InputManager.h
+++ b/es-core/src/InputManager.h
@@ -52,7 +52,7 @@ public:
 
     bool parseEvent(const SDL_Event& event, Window* window);
 
-    int getNumJoysticks() { return mJoysticks.size(); }
+    int getNumJoysticks() { return static_cast<int>(mJoysticks.size()); }
 
 private:
     bool initialized() const;