Skip to content

Commit

Permalink
Merge pull request #1332 from donc/toHash8153warningwording
Browse files Browse the repository at this point in the history
Fix bug 8153 Warning about toHash signature is incorrect on x86_64
  • Loading branch information
yebblies committed Nov 28, 2012
2 parents 9a649cc + ea6d4d8 commit 38d04f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/typinf.c
Original file line number Diff line number Diff line change
Expand Up @@ -639,7 +639,7 @@ void TypeInfoStructDeclaration::toDt(dt_t **pdt)
* So I'm leaving this here as an experiment for the moment.
*/
if (!tf->isnothrow || tf->trust == TRUSTsystem /*|| tf->purity == PUREimpure*/)
warning(fd->loc, "toHash() must be declared as extern (D) uint toHash() const nothrow @safe, not %s", tf->toChars());
warning(fd->loc, "toHash() must be declared as extern (D) size_t toHash() const nothrow @safe, not %s", tf->toChars());
}
else
{
Expand Down

0 comments on commit 38d04f8

Please sign in to comment.