summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2017-05-02 15:42:23 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2017-05-02 15:42:23 (GMT)
commitce90eafc809554ad9243f6f2dbacdb41474c9fe5 (patch)
tree7265fc7ca812649781aa5fab8fd3ce4d5844af36
parente1747e4c56d59fc71d40bb6ab19a9fa0e1a9efeb (diff)
downloadblt-ce90eafc809554ad9243f6f2dbacdb41474c9fe5.zip
blt-ce90eafc809554ad9243f6f2dbacdb41474c9fe5.tar.gz
blt-ce90eafc809554ad9243f6f2dbacdb41474c9fe5.tar.bz2
fix win64 issuev3.2.6
-rw-r--r--src/tkbltGrAxisOption.C6
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)