Commit 06edacba authored by Stefan Behnel's avatar Stefan Behnel

Avoid C compiler warning about an "always true" signedness check expression.

parent 145538f4
...@@ -514,7 +514,7 @@ class FusedCFuncDefNode(StatListNode): ...@@ -514,7 +514,7 @@ class FusedCFuncDefNode(StatListNode):
pyx_code.local_variable_declarations.put_chunk( pyx_code.local_variable_declarations.put_chunk(
u""" u"""
cdef bint {{dtype_name}}_is_signed cdef bint {{dtype_name}}_is_signed
{{dtype_name}}_is_signed = <{{dtype_type}}> -1 < 0 {{dtype_name}}_is_signed = not (<{{dtype_type}}> -1 > 0)
""") """)
def _split_fused_types(self, arg): def _split_fused_types(self, arg):
......
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