Skip to content

Commit

Permalink
Fixed|InFine: Compiler warnings (un/signed comparison; string literals)
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Oct 15, 2014
1 parent 8d75e62 commit f924f9b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion doomsday/client/src/ui/infine/finaleanimwidget.cpp
Expand Up @@ -439,7 +439,7 @@ void FinaleAnimWidget::runTicks(/*timespan_t timeDelta*/)
// Advance the sequence position. k = next pos.
uint next = d->curFrame + 1;

if(next == d->frames.count())
if(next == uint(d->frames.count()))
{
// This is the end.
d->animComplete = true;
Expand Down
4 changes: 2 additions & 2 deletions doomsday/client/src/ui/infine/finaleinterpreter.cpp
Expand Up @@ -2100,7 +2100,7 @@ DEFFC(TextFromDef)
DENG2_UNUSED(cmd);
FinaleTextWidget &text = fi.findOrCreateWidget(FI_TEXT, OP_CSTRING(0)).as<FinaleTextWidget>();

char *str = "(undefined)"; // Not found.
char const *str = "(undefined)"; // Not found.
Def_Get(DD_DEF_TEXT, (char *)OP_CSTRING(3), &str);

text.setText(str)
Expand Down Expand Up @@ -2162,7 +2162,7 @@ DEFFC(SetTextDef)
DENG2_UNUSED(cmd);
FinaleTextWidget &text = fi.findOrCreateWidget(FI_TEXT, OP_CSTRING(0)).as<FinaleTextWidget>();

char *str = "(undefined)"; // Not found.
char const *str = "(undefined)"; // Not found.
Def_Get(DD_DEF_TEXT, OP_CSTRING(1), &str);

text.setText(str);
Expand Down

0 comments on commit f924f9b

Please sign in to comment.