From 77c7836c26654d789989d451e9f5fda589845be9 Mon Sep 17 00:00:00 2001 From: Ozkan Sezer Date: Tue, 27 Sep 2022 20:21:24 +0300 Subject: [PATCH] fix vita build failure after commit 2c518747b --- src/sensor/vita/SDL_vitasensor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sensor/vita/SDL_vitasensor.c b/src/sensor/vita/SDL_vitasensor.c index a04981171..3123f1623 100644 --- a/src/sensor/vita/SDL_vitasensor.c +++ b/src/sensor/vita/SDL_vitasensor.c @@ -161,7 +161,7 @@ SDL_VITA_SensorUpdate(SDL_Sensor *sensor) if (sensor->hwdata->timestamp_us) { unsigned int delta; if (sensor->hwdata->last_timestamp > timestamp) { - SDL_COMPILE_TIME_ASSERT(sizeof(timestamp) == sizeof(Uint32)); + SDL_COMPILE_TIME_ASSERT(timestamp, sizeof(timestamp) == sizeof(Uint32)); delta = (SDL_MAX_UINT32 - sensor->hwdata->last_timestamp + timestamp + 1); } else { delta = (timestamp - sensor->hwdata->last_timestamp);