Commit 7a5f5cb0 authored by Dick Hollenbeck's avatar Dick Hollenbeck

compiler warning from mailing list

parent 0ef043f0
......@@ -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() );
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment