Code style: changed "sizeof foo" to "sizeof(foo)" (thanks @sezero!)
(cherry picked from commit c6443d86c9)
This commit is contained in:
1 parent
46d143376a
commit
0d76380042
71 files changed
+525
-234
No files matched your search
+1
-1
@@ -28,7 +28,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