Skip to content

Commit

Permalink
Fix unconvertible comment
Browse files Browse the repository at this point in the history
  • Loading branch information
yebblies committed Nov 8, 2014
1 parent c5123ef commit 3343023
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/mtype.c
Expand Up @@ -3995,8 +3995,7 @@ Type *TypeSArray::semantic(Loc loc, Scope *sc)
/* Only do this for types that don't need to have semantic()
* run on them for the size, since they may be forward referenced.
*/
if (mulu(tbn->size(loc), d2, overflow) >= 0x1000000 || // put a 'reasonable' limit on it
overflow)
if (mulu(tbn->size(loc), d2, overflow) >= 0x1000000 || overflow) // put a 'reasonable' limit on it
{
Loverflow:
error(loc, "index %llu overflow for static array", (unsigned long long)d1);
Expand Down

0 comments on commit 3343023

Please sign in to comment.