From 7b32acd1fffbd1da65985ddf0d15ae22cdfc1bcb Mon Sep 17 00:00:00 2001 From: Peter Howkins Date: Mon, 7 Feb 2022 05:14:03 +0000 Subject: [PATCH] dthelp: Resolve pointer-to-int warning --- cde/programs/dthelp/parser/pass1/helptag/help.if | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cde/programs/dthelp/parser/pass1/helptag/help.if b/cde/programs/dthelp/parser/pass1/helptag/help.if index aa43e0ccb..b1def2be5 100644 --- a/cde/programs/dthelp/parser/pass1/helptag/help.if +++ b/cde/programs/dthelp/parser/pass1/helptag/help.if @@ -521,7 +521,7 @@ static char ident6[]="@(#) (c) Copyright 1993, 1994 Unix System Labs, Inc., a su if (termp - term > 1 && *(termp-1) == ' ') { *(termp-1) = M_EOS; } - if (!(lastTermId = (int) m_lookfortrie(term, >ree))) + if (!(lastTermId = (intptr_t) m_lookfortrie(term, >ree))) { lastTermId = NextId(); m_ntrtrie(term, >ree, (void *) -lastTermId);