compiler warning from mailing list

This commit is contained in:
Dick Hollenbeck 2013-05-16 09:40:46 -05:00
parent 0ef043f0f8
commit 7a5f5cb009
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ int LAYER_BOX_SELECTOR::GetChoice()
// Get Current Layer
LAYER_NUM LAYER_BOX_SELECTOR::GetLayerSelection() const
{
return (LAYER_NUM)((unsigned long) GetClientData( GetSelection() ) );
return (LAYER_NUM)(intptr_t) GetClientData( GetSelection() );
}