mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
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:
parent
0f8a51e71f
commit
f192097375
1 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
/************************************************************************/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue