1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00

dthelp: Resolve pointer-to-int warning

This commit is contained in:
Peter Howkins 2022-02-07 05:14:03 +00:00
parent c98e82a401
commit 7b32acd1ff

View file

@ -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, &gtree)))
if (!(lastTermId = (intptr_t) m_lookfortrie(term, &gtree)))
{
lastTermId = NextId();
m_ntrtrie(term, &gtree, (void *) -lastTermId);