Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #1332 from donc/toHash8153warningwording

Fix bug 8153 Warning about toHash signature is incorrect on x86_64
  • Loading branch information...
commit 38d04f8897844f17239ca0d67fdafb1273cdc05e 2 parents 9a649cc + ea6d4d8
@yebblies yebblies authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/typinf.c
View
2  src/typinf.c
@@ -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
{
Please sign in to comment.
Something went wrong with that request. Please try again.