aboutsummaryrefslogtreecommitdiffstats
path: root/src/cfg_file.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2012-03-28 14:53:58 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2012-03-28 14:53:58 +0400
commit54e84de2f56dd7d8b04627e2c13bad123832ed81 (patch)
tree3837d86eb89a5a63a2b421dc270c7e044086d1bc /src/cfg_file.h
parente389ab727d6eb1024567c2629150a72fc26fb7ef (diff)
downloadrspamd-54e84de2f56dd7d8b04627e2c13bad123832ed81.tar.gz
rspamd-54e84de2f56dd7d8b04627e2c13bad123832ed81.zip
Parse big limits on 32 bits machine (for file sizes).
Diffstat (limited to 'src/cfg_file.h')
-rw-r--r--src/cfg_file.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cfg_file.h b/src/cfg_file.h
index f07539295..203558e9a 100644
--- a/src/cfg_file.h
+++ b/src/cfg_file.h
@@ -395,7 +395,7 @@ gchar* get_module_opt (struct config_file *cfg, gchar *module_name, gchar *opt_n
* @param limit string representation of limit (eg. 1M)
* @return numeric value of limit
*/
-gsize parse_limit (const gchar *limit, guint len);
+guint64 parse_limit (const gchar *limit, guint len);
/**
* Parse time