Skip to content

Commit

Permalink
Fixed compiler warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Jul 30, 2009
1 parent c8021ae commit e4b31c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua_glue.c
Expand Up @@ -1561,7 +1561,7 @@ static int luahook_gui_productkey(lua_State *L)
char *buf = (char *) xmalloc(fmtlen);
int cmd = 0;

assert((defval == NULL) || (strlen(defval) < fmtlen));
assert((defval == NULL) || (((int)strlen(defval)) < fmtlen));
strcpy(buf, (defval == NULL) ? "" : defval);

cmd = GGui->productkey(desc, fmt, buf, fmtlen, can_go_back, can_go_fwd);
Expand Down

0 comments on commit e4b31c9

Please sign in to comment.