diff options
author | Xavier Roche <xroche@users.noreply.github.com> | 2013-06-27 21:25:29 +0000 |
---|---|---|
committer | Xavier Roche <xroche@users.noreply.github.com> | 2013-06-27 21:25:29 +0000 |
commit | f7de42a81ac476dfd3ba7168b06ace4f9ad6098e (patch) | |
tree | b12c2d977f9f50505acf5749275d4f40c22c0d7a | |
parent | f281133bfee9083afb8248d642927ffd30e2183e (diff) |
Hash value can be signed or unsigned
-rw-r--r-- | src/htsinthash.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/htsinthash.h b/src/htsinthash.h index 90f8401..636b4b3 100644 --- a/src/htsinthash.h +++ b/src/htsinthash.h @@ -71,7 +71,10 @@ typedef unsigned __int64 uint64_t; /** Value. **/ typedef union inthash_value { /** Integer value. **/ - uintptr_t intg; + intptr_t intg; + + /** Unsigned integer value. **/ + uintptr_t uintg; /** Pointer value. **/ void *ptr; |