SDL: testhaptic: fix conversion from `size_t` to `int`

From ebae142aa48a3b28ee331e656168f70a4471cbce Mon Sep 17 00:00:00 2001
From: Anonymous Maarten <[EMAIL REDACTED]>
Date: Thu, 6 Oct 2022 01:05:59 +0200
Subject: [PATCH] testhaptic: fix conversion from `size_t` to `int`

Emitted by MSVC
---
 test/testhaptic.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/testhaptic.c b/test/testhaptic.c
index 9b73ce293997..34da19f9692a 100644
--- a/test/testhaptic.c
+++ b/test/testhaptic.c
@@ -59,7 +59,7 @@ main(int argc, char **argv)
             return 0;
         }
 
-        i = SDL_strlen(name);
+        i = (int)SDL_strlen(name);
         if ((i < 3) && SDL_isdigit(name[0]) && ((i == 1) || SDL_isdigit(name[1]))) {
             index = SDL_atoi(name);
             name = NULL;