From a6decc3cc7d21442c3f69e11203881b48e4a5fa9 Mon Sep 17 00:00:00 2001 From: Dick Hollenbeck Date: Thu, 16 May 2013 09:40:46 -0500 Subject: [PATCH] compiler warning from mailing list --- common/class_layer_box_selector.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/class_layer_box_selector.cpp b/common/class_layer_box_selector.cpp index b273240118..66b40377cf 100644 --- a/common/class_layer_box_selector.cpp +++ b/common/class_layer_box_selector.cpp @@ -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() ); }