Commit c1490e16 by Victor M. Alvarez

Use PyLong_AsLongLong of PyLong_AsLong for external variables. Closes #125.

parent d48db12d
......@@ -991,7 +991,7 @@ int process_compile_externals(
result = yr_compiler_define_integer_variable(
compiler,
identifier,
PyLong_AsLong(value));
PyLong_AsLongLong(value));
}
else if (PyFloat_Check(value))
{
......@@ -1061,7 +1061,7 @@ int process_match_externals(
result = yr_rules_define_integer_variable(
rules,
identifier,
PyLong_AsLong(value));
PyLong_AsLongLong(value));
}
else if (PyFloat_Check(value))
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment