diff options
author | Tilman Keskinoz <arved@FreeBSD.org> | 2007-08-02 13:00:15 +0000 |
---|---|---|
committer | Tilman Keskinoz <arved@FreeBSD.org> | 2007-08-02 13:00:15 +0000 |
commit | 93892e79dd8687378e009aaa91b47129839f3e08 (patch) | |
tree | 9c6f74ae1760edbf358aa5c9c3fa3d9b5ecf1bc3 /net/nam | |
parent | 35291d2551604b7cf8538260c517f04b1664d7b7 (diff) | |
download | ports-93892e79dd8687378e009aaa91b47129839f3e08.tar.gz ports-93892e79dd8687378e009aaa91b47129839f3e08.zip |
Notes
Diffstat (limited to 'net/nam')
-rw-r--r-- | net/nam/files/patch-editview.cc | 20 | ||||
-rw-r--r-- | net/nam/files/patch-group.cc | 11 | ||||
-rw-r--r-- | net/nam/files/patch-netmodel.cc | 20 |
3 files changed, 51 insertions, 0 deletions
diff --git a/net/nam/files/patch-editview.cc b/net/nam/files/patch-editview.cc new file mode 100644 index 000000000000..5aa0cd81c7fa --- /dev/null +++ b/net/nam/files/patch-editview.cc @@ -0,0 +1,20 @@ +--- editview.cc.orig 2007-08-02 14:52:33.000000000 +0200 ++++ editview.cc 2007-08-02 14:52:53.000000000 +0200 +@@ -66,7 +66,7 @@ + } + char str[256]; + model_ = m; +- sprintf(str, "def%-u", (int)this); ++ sprintf(str, "def%-u", (intptr_t)this); + defTag_ = new Tag(str); + model_->add_tag(defTag_); + editing_stage_ = NONE; +@@ -89,7 +89,7 @@ + } + + model_ = m; +- sprintf(str, "def%-u", (int)this); ++ sprintf(str, "def%-u", (intptr_t)this); + defTag_ = new Tag(name); + model_->add_tag(defTag_); + editing_stage_ = NONE; diff --git a/net/nam/files/patch-group.cc b/net/nam/files/patch-group.cc new file mode 100644 index 000000000000..f41a0133a89e --- /dev/null +++ b/net/nam/files/patch-group.cc @@ -0,0 +1,11 @@ +--- group.cc.orig 2007-08-02 14:51:34.000000000 +0200 ++++ group.cc 2007-08-02 14:51:56.000000000 +0200 +@@ -81,7 +81,7 @@ + for (he = Tcl_FirstHashEntry(nodeHash_, &hs); + he != NULL; + he = Tcl_NextHashEntry(&hs), i++) +- mbrs[i] = (int) Tcl_GetHashValue(he); ++ mbrs[i] = (intptr_t) Tcl_GetHashValue(he); + } + + void Group::draw(View * nv, double now) { diff --git a/net/nam/files/patch-netmodel.cc b/net/nam/files/patch-netmodel.cc new file mode 100644 index 000000000000..af4841967bb9 --- /dev/null +++ b/net/nam/files/patch-netmodel.cc @@ -0,0 +1,20 @@ +--- netmodel.cc.orig 2007-08-02 14:44:09.000000000 +0200 ++++ netmodel.cc 2007-08-02 14:47:11.000000000 +0200 +@@ -308,7 +308,7 @@ + Tcl_HashEntry *he = Tcl_FindHashEntry(addrHash_, (const char *)addr); + if (he == NULL) + return -1; +- return (int)Tcl_GetHashValue(he); ++ return (intptr_t)Tcl_GetHashValue(he); + } + + //---------------------------------------------------------------------- +@@ -2761,7 +2761,7 @@ + Tcl_HashEntry *he = Tcl_FindHashEntry(objnameHash_, n); + if (he == NULL) + return -1; +- return (int)Tcl_GetHashValue(he); ++ return (intptr_t)Tcl_GetHashValue(he); + #undef STATIC_NAMELEN + } + |