summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorjoye <joye>2015-06-02 19:28:42 (GMT)
committerjoye <joye>2015-06-02 19:28:42 (GMT)
commit5e4d6d62aebd7c84459b75e1d37c89822724c813 (patch)
tree87ddf34e49f646ef7c00d3b3759ebc9b3a50b9b1 /src
parent1f61ad158fe8e5910da6579ff604589923a1fc1e (diff)
downloadblt-5e4d6d62aebd7c84459b75e1d37c89822724c813.zip
blt-5e4d6d62aebd7c84459b75e1d37c89822724c813.tar.gz
blt-5e4d6d62aebd7c84459b75e1d37c89822724c813.tar.bz2
*** empty log message ***
Diffstat (limited to 'src')
-rw-r--r--src/bltGrLegd.C2
-rw-r--r--src/bltGraphBar.C2
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;