1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-26 12:56:37 +02:00

core: fix integer overflow and return "unsigned long" in function util_version_number

This commit is contained in:
Sébastien Helleu
2025-05-08 18:37:47 +02:00
parent f6cace609c
commit 2bc290b6ed
13 changed files with 49 additions and 45 deletions
+2 -1
View File
@@ -1109,7 +1109,8 @@ script_repo_file_read (int quiet)
const char *ptr_desc;
gzFile file;
struct t_script_repo *script;
int version_number, version_ok, script_ok;
unsigned long version_number;
int version_ok, script_ok;
struct tm tm_script;
struct t_hashtable *descriptions;