Commit de01926f authored by yb9976's avatar yb9976
Browse files

Fixed warning.

parent df6a8666
......@@ -6278,7 +6278,7 @@ static ir_node *extract_from_initializer(const ir_type *type,
if (offset < 0)
return NULL;
unsigned size = get_type_size_bytes(type);
if (offset >= size)
if ((unsigned long)offset >= size)
return NULL;
ir_tarval *tv;
......
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