From c44d7b66d27b1ab7778271599bec598bc5050656 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADtor=20Santos=20Costa?= Date: Thu, 6 May 2010 16:01:48 +0100 Subject: [PATCH] fix warnings --- include/SWI-Prolog.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/SWI-Prolog.h b/include/SWI-Prolog.h index 53310fc5a..f4fb98d7d 100755 --- a/include/SWI-Prolog.h +++ b/include/SWI-Prolog.h @@ -114,7 +114,7 @@ typedef void *record_t; typedef uintptr_t atom_t; typedef YAP_Term *predicate_t; typedef struct open_query_struct *qid_t; -typedef long functor_t; +typedef uintptr_t functor_t; typedef int (*PL_agc_hook_t)(atom_t); typedef unsigned long foreign_t; /* return type of foreign functions */ typedef wchar_t pl_wchar_t; /* wide character support */