/*
 * This file is part of hat-trie.
 *
 * Copyright (c) 2011 by Daniel C. Jones <dcjones@cs.washington.edu>
 *
 *
 * Common typedefs, etc.
 *
 */


#ifndef HATTRIE_COMMON_H
#define HATTRIE_COMMON_H

typedef unsigned long value_t;

#endif



/*
 * This file is part of hat-trie.
 *
 * Copyright (c) 2011 by Daniel C. Jones <dcjones@cs.washington.edu>
 *
 *
 * Common typedefs, etc.
 *
 */


#ifndef HATTRIE_COMMON_H
#define HATTRIE_COMMON_H

#include "pstdint.h"

typedef uintptr_t value_t;

#endif



Switch `value_t` to be `uintptr_t`.
Switch `value_t` to be `uintptr_t`.

This allows `value_t` to be 64-bit even on 64-bit architectures where
`unsigned long` is still 32-bit.
