diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2024-03-18 14:56:16 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rspamd.com> | 2024-03-18 14:56:16 +0000 |
commit | 6b2b4167187fee09365271cca182866ecb029af3 (patch) | |
tree | a085717bc896b25ff4280eb86abecca0d5c36767 /src/lua/lua_kann.c | |
parent | 47bcfc8360dfa1754474580e779314b8d6a78da6 (diff) | |
download | rspamd-6b2b4167187fee09365271cca182866ecb029af3.tar.gz rspamd-6b2b4167187fee09365271cca182866ecb029af3.zip |
[Rework] Remove some of the GLib types in lieu of standard ones
This types have constant conflicts with the system ones especially on OSX.
Diffstat (limited to 'src/lua/lua_kann.c')
-rw-r--r-- | src/lua/lua_kann.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lua/lua_kann.c b/src/lua/lua_kann.c index 9e033b40e..09228387a 100644 --- a/src/lua/lua_kann.c +++ b/src/lua/lua_kann.c @@ -1,5 +1,5 @@ /* - * Copyright 2023 Vsevolod Stakhov + * Copyright 2024 Vsevolod Stakhov * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -1052,9 +1052,9 @@ lua_kann_train1(lua_State *L) /* Default train params */ double lr = 0.001; - gint64 mini_size = 64; - gint64 max_epoch = 25; - gint64 max_drop_streak = 10; + int64_t mini_size = 64; + int64_t max_epoch = 25; + int64_t max_drop_streak = 10; double frac_val = 0.1; gint cbref = -1; |