mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-11-03 09:14:36 +00:00
Code style: changed "sizeof foo" to "sizeof(foo)" (thanks @sezero!)
This commit is contained in:
@@ -29,7 +29,7 @@ static const char *GetSensorTypeString(SDL_SensorType type)
|
||||
case SDL_SENSOR_GYRO:
|
||||
return "SDL_SENSOR_GYRO";
|
||||
default:
|
||||
(void)SDL_snprintf(unknown_type, sizeof unknown_type, "UNKNOWN (%d)", type);
|
||||
(void)SDL_snprintf(unknown_type, sizeof(unknown_type), "UNKNOWN (%d)", type);
|
||||
return unknown_type;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user