diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2001-12-21 21:37:12 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2001-12-21 21:37:12 +0000 |
commit | 543e81d64f809d97c82873e909e2281c7cacfd93 (patch) | |
tree | c06b9c35ebf21e62a0b6bbc79319898180447012 /mktable.c | |
parent | [w3m-dev 02690] RC_DIR in scripts (diff) | |
download | w3m-543e81d64f809d97c82873e909e2281c7cacfd93.tar.gz w3m-543e81d64f809d97c82873e909e2281c7cacfd93.zip |
[w3m-dev 02692] w3m on linux/ia64
From: Fumitoshi UKAI <ukai@debian.or.jp>
Diffstat (limited to 'mktable.c')
-rw-r--r-- | mktable.c | 12 |
1 files changed, 9 insertions, 3 deletions
@@ -1,7 +1,13 @@ -/* $Id: mktable.c,v 1.3 2001/11/24 02:01:26 ukai Exp $ */ +/* $Id: mktable.c,v 1.4 2001/12/21 21:37:12 ukai Exp $ */ +#include "config.h" #include <stdio.h> #include <stdlib.h> #include <ctype.h> +#ifdef HAVE_STDINT_H +#include "stdint.h" +#else +typedef unsigned int uintptr_t; +#endif #include "hash.h" #include "Str.h" #include <gc.h> @@ -10,9 +16,9 @@ defhash(HashItem_ss *, int, hss_i) #define keycomp(x,y) ((x)==(y)) - static unsigned int hashfunc(HashItem_ss * x) + static uintptr_t hashfunc(HashItem_ss * x) { - return (unsigned int)x; + return (uintptr_t)x; } defhashfunc(HashItem_ss *, int, hss_i) |