Browse Source

Fixed warning C6340: Mismatch on sign: 'unsigned int' passed as _Param_(2) when some signed type is required in call to 'SDL_SetError_REAL'.

Sam Lantinga 1 year ago
parent
commit
b512182222
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/sensor/SDL_sensor.c

+ 1 - 1
src/sensor/SDL_sensor.c

@@ -236,7 +236,7 @@ static SDL_bool SDL_GetDriverAndSensorIndex(SDL_SensorID instance_id, SDL_Sensor
             }
         }
     }
-    SDL_SetError("Sensor %" SDL_PRIs32 " not found", instance_id);
+    SDL_SetError("Sensor %" SDL_PRIu32 " not found", instance_id);
     return SDL_FALSE;
 }