diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2013-12-15 16:44:05 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2013-12-15 16:44:05 -0800 |
commit | 471f7f06f790b2fd927d86d3fb3974743ed60607 (patch) | |
tree | b1444d1f1b2762fd4f9796f0ba8e74b33c4c2d91 /parser.cpp | |
parent | ddb37a47da240a04ba2193ea3f29c1d12ad807c0 (diff) |
Fix for a busted assertion
Diffstat (limited to 'parser.cpp')
-rw-r--r-- | parser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -559,7 +559,7 @@ void parser_t::error(int ec, size_t p, const wchar_t *str, ...) error_code = ec; - assert(p <= INT_MAX); + // note : p may be -1 err_pos = static_cast<int>(p); va_start(va, str); |