# sdl2-compat: sdl3\_syms.h: fixed return type of SDL3\_GetFloatProperty

**URL:** <https://discourse.libsdl.org/t/sdl2-compat-sdl3-syms-h-fixed-return-type-of-sdl3-getfloatproperty/48202>\
**Category:** SDL Commits\
**Created:** [January 8, 2024, 7:30pm UTC](https://discourse.libsdl.org/t/sdl2-compat-sdl3-syms-h-fixed-return-type-of-sdl3-getfloatproperty/48202 "2024-01-08T19:30:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SDLPushPostBot](https://discourse.libsdl.org/user_avatar/discourse.libsdl.org/sdlpushpostbot/32/4370_2.png) [@SDLPushPostBot](https://discourse.libsdl.org/u/SDLPushPostBot)\
**Post date:** [January 8, 2024, 7:30pm UTC](https://discourse.libsdl.org/t/sdl2-compat-sdl3-syms-h-fixed-return-type-of-sdl3-getfloatproperty/48202/1 "2024-01-08T19:30:02Z")

</div>

> <https://github.com/libsdl-org/sdl2-compat/commit/95c020b03b8117ebaa86d1292b379f77e1ae1782>

```diff
From 95c020b03b8117ebaa86d1292b379f77e1ae1782 Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Mon, 8 Jan 2024 22:28:14 +0300
Subject: [PATCH] sdl3_syms.h: fixed return type of SDL3_GetFloatProperty

---
 src/sdl3_syms.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/sdl3_syms.h b/src/sdl3_syms.h
index c7dfc04..0dd4895 100644
--- a/src/sdl3_syms.h
+++ b/src/sdl3_syms.h
@@ -857,7 +857,7 @@ SDL3_SYM(SDL_PropertiesID,GetRendererProperties,(SDL_Renderer *a),(a),return)
 SDL3_SYM(SDL_GamepadButtonLabel,GetGamepadButtonLabel,(SDL_Gamepad *a, SDL_GamepadButton b),(a,b),return)
 SDL3_SYM(Sint64,GetNumberProperty,(SDL_PropertiesID a, const char *b, Sint64 c),(a,b,c),return)
 SDL3_SYM(SDL_bool,GetBooleanProperty,(SDL_PropertiesID a, const char *b, SDL_bool c),(a,b,c),return)
-SDL3_SYM(SDL_bool,GetFloatProperty,(SDL_PropertiesID a, const char *b, float c),(a,b,c),return)
+SDL3_SYM(float,GetFloatProperty,(SDL_PropertiesID a, const char *b, float c),(a,b,c),return)
 SDL3_SYM(SDL_PropertiesID,CreateProperties,(void),(),return)
 SDL3_SYM(int,SetBooleanProperty,(SDL_PropertiesID a, const char *b, SDL_bool c),(a,b,c),return)
 SDL3_SYM(int,SetNumberProperty,(SDL_PropertiesID a, const char *b, Sint64 c),(a,b,c),return)

```
