[vlc-commits] modules: Adjust integer limits
Hugo Beauzée-Luyssen
git at videolan.org
Fri Oct 14 18:22:00 CEST 2016
vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Fri Oct 14 18:21:08 2016 +0200| [e908026c45d91a18b5a3835953edd47a822b4a40] | committer: Hugo Beauzée-Luyssen
modules: Adjust integer limits
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e908026c45d91a18b5a3835953edd47a822b4a40
---
src/modules/entry.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/modules/entry.c b/src/modules/entry.c
index ae8e041..7698499 100644
--- a/src/modules/entry.c
+++ b/src/modules/entry.c
@@ -129,8 +129,8 @@ static module_config_t *vlc_config_create (module_t *module, int type)
memset (tab + confsize, 0, sizeof (tab[confsize]));
if (IsConfigIntegerType (type))
{
- tab[confsize].max.i = INT_MAX;
- tab[confsize].min.i = INT_MIN;
+ tab[confsize].max.i = INT64_MAX;
+ tab[confsize].min.i = INT64_MIN;
}
else if( IsConfigFloatType (type))
{
More information about the vlc-commits
mailing list