diff options
-rw-r--r-- | src/tkbltGrAxisOption.C | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/tkbltGrAxisOption.C b/src/tkbltGrAxisOption.C index d0f78e8..e8b1f30 100644 --- a/src/tkbltGrAxisOption.C +++ b/src/tkbltGrAxisOption.C @@ -63,7 +63,11 @@ static int AxisSetProc(ClientData clientData, Tcl_Interp* interp, return TCL_OK; Graph* graphPtr = getGraphFromWindowData(tkwin); - ClassId classId = (ClassId)(long(clientData)); +#ifdef _WIN64 + ClassId classId = (ClassId)((long long)clientData); +#else + ClassId classId = (ClassId)((long)clientData); +#endif Axis *axisPtr; if (graphPtr->getAxis(*objPtr, &axisPtr) != TCL_OK) |