diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2017-05-02 15:42:23 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2017-05-02 15:42:23 (GMT) |
commit | 35d249bee612825c397fd921644c8e4d6a1c10a8 (patch) | |
tree | 49454dbafbc5ff4f3ee7c77234f85f6f3e96a4e1 /tkblt | |
parent | b18654a8e217dbed5dcd8ce8e9b38ba25b1b34dd (diff) | |
download | blt-35d249bee612825c397fd921644c8e4d6a1c10a8.zip blt-35d249bee612825c397fd921644c8e4d6a1c10a8.tar.gz blt-35d249bee612825c397fd921644c8e4d6a1c10a8.tar.bz2 |
fix win64 issue
Diffstat (limited to 'tkblt')
-rw-r--r-- | tkblt/src/tkbltGrAxisOption.C | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tkblt/src/tkbltGrAxisOption.C b/tkblt/src/tkbltGrAxisOption.C index d0f78e8..e8b1f30 100644 --- a/tkblt/src/tkbltGrAxisOption.C +++ b/tkblt/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) |