From 5e4d6d62aebd7c84459b75e1d37c89822724c813 Mon Sep 17 00:00:00 2001 From: joye Date: Tue, 2 Jun 2015 19:28:42 +0000 Subject: *** empty log message *** --- src/bltGrLegd.C | 2 +- src/bltGraphBar.C | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bltGrLegd.C b/src/bltGrLegd.C index ad5ce08..fe46877 100644 --- a/src/bltGrLegd.C +++ b/src/bltGrLegd.C @@ -772,7 +772,7 @@ void Legend::selectElement(Element* elemPtr) void Legend::deselectElement(Element* elemPtr) { - Tcl_HashEntry* hPtr = Tcl_FindHashEntry(&selectTable_, elemPtr); + Tcl_HashEntry* hPtr = Tcl_FindHashEntry(&selectTable_, (char*)elemPtr); if (hPtr) { ChainLink* link = (ChainLink*)Tcl_GetHashValue(hPtr); selected_->deleteLink(link); diff --git a/src/bltGraphBar.C b/src/bltGraphBar.C index 8443cab..205665b 100644 --- a/src/bltGraphBar.C +++ b/src/bltGraphBar.C @@ -488,7 +488,7 @@ void BarGraph::computeBarStacks() key.value =*x; key.xAxis =ops->xAxis; key.yAxis =NULL; - Tcl_HashEntry *hPtr = Tcl_FindHashEntry(&setTable_, &key); + Tcl_HashEntry *hPtr = Tcl_FindHashEntry(&setTable_, (char*)&key); if (!hPtr) continue; -- cgit v0.12