plugin/gdal: Fixed to compile in Linux

git-svn-id: svn://ultimatepp.org/upp/trunk@14481 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2020-05-18 17:04:44 +00:00
parent 0f8a51e71f
commit f192097375

View file

@ -379,7 +379,11 @@ int CPLHashSetRemove(CPLHashSet* set, const void* elt)
unsigned long CPLHashSetHashPointer(const void* elt)
{
#ifdef PLATFORM_POSIX
return (unsigned long)(GUIntBig) elt;
#else
return (unsigned long)(GUIntBig) (uintptr_t)elt;
#endif
}
/************************************************************************/