Skip to content

Commit

Permalink
resolve warning in typinf.c
Browse files Browse the repository at this point in the history
  • Loading branch information
WalterBright committed Sep 17, 2014
1 parent 82925bc commit a7905cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/typinf.c
Expand Up @@ -251,8 +251,8 @@ class TypeInfoDtVisitor : public Visitor
if (typeclass->structsize != expected)
{
#ifdef DEBUG
printf("expected = x%x, %s.structsize = x%x\n", expected,
typeclass->toChars(), typeclass->structsize);
printf("expected = x%x, %s.structsize = x%x\n", (unsigned)expected,
typeclass->toChars(), (unsigned)typeclass->structsize);
#endif
error(typeclass->loc, "mismatch between compiler and object.d or object.di found. Check installation and import paths with -v compiler switch.");
fatal();
Expand Down

0 comments on commit a7905cd

Please sign in to comment.