Commit 589654d8 by Calvin Buckley

khash 64-bit type is unsigned, use int32_t too

For 32-bit int: There's no real reason for that ifdef if we explicitly
specify the stdint.h type.

For 64-bit int: ope, I made it signed accidentally
parent fcfaea4d
......@@ -131,13 +131,8 @@ int main() {
/* compiler specific configuration */
#if UINT_MAX == 0xffffffffu
typedef unsigned int khint32_t;
#elif ULONG_MAX == 0xffffffffu
typedef unsigned long khint32_t;
#endif
typedef int64_t khint64_t;
typedef uint32_t khint32_t;
typedef uint64_t khint64_t;
#ifndef kh_inline
#ifdef _MSC_VER
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment