Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 149880 | Differences between
and this patch

Collapse All | Expand All

(-)nam-1.11/editview.cc (-2 / +2 lines)
Lines 66-72 Link Here
66
	}
66
	}
67
	char str[256];
67
	char str[256];
68
	model_ = m;
68
	model_ = m;
69
	sprintf(str, "def%-u", (int)this);
69
	sprintf(str, "def%-u", (long long)this);
70
	defTag_ = new Tag(str);
70
	defTag_ = new Tag(str);
71
	model_->add_tag(defTag_);
71
	model_->add_tag(defTag_);
72
	editing_stage_ = NONE;
72
	editing_stage_ = NONE;
Lines 89-95 Link Here
89
	}
89
	}
90
90
91
	model_ = m;
91
	model_ = m;
92
	sprintf(str, "def%-u", (int)this);
92
	sprintf(str, "def%-u", (long long)this);
93
	defTag_ = new Tag(name);
93
	defTag_ = new Tag(name);
94
	model_->add_tag(defTag_);
94
	model_->add_tag(defTag_);
95
	editing_stage_ = NONE;
95
	editing_stage_ = NONE;
(-)nam-1.11/group.cc (-1 / +1 lines)
Lines 81-87 Link Here
81
	for (he = Tcl_FirstHashEntry(nodeHash_, &hs);
81
	for (he = Tcl_FirstHashEntry(nodeHash_, &hs);
82
	     he != NULL;
82
	     he != NULL;
83
	     he = Tcl_NextHashEntry(&hs), i++) 
83
	     he = Tcl_NextHashEntry(&hs), i++) 
84
		mbrs[i] = (int) Tcl_GetHashValue(he);
84
		mbrs[i] = (long long) Tcl_GetHashValue(he);
85
}
85
}
86
86
87
void Group::draw(View * nv, double now) {
87
void Group::draw(View * nv, double now) {
(-)nam-1.11/netmodel.cc (-2 / +2 lines)
Lines 308-314 Link Here
308
	Tcl_HashEntry *he = Tcl_FindHashEntry(addrHash_, (const char *)addr);
308
	Tcl_HashEntry *he = Tcl_FindHashEntry(addrHash_, (const char *)addr);
309
	if (he == NULL)
309
	if (he == NULL)
310
		return -1;
310
		return -1;
311
	return (int)Tcl_GetHashValue(he);
311
	return (long long)Tcl_GetHashValue(he);
312
}
312
}
313
313
314
//----------------------------------------------------------------------
314
//----------------------------------------------------------------------
Lines 2761-2767 Link Here
2761
	Tcl_HashEntry *he = Tcl_FindHashEntry(objnameHash_, n);
2761
	Tcl_HashEntry *he = Tcl_FindHashEntry(objnameHash_, n);
2762
	if (he == NULL)
2762
	if (he == NULL)
2763
		return -1;
2763
		return -1;
2764
	return (int)Tcl_GetHashValue(he);
2764
	return (long long)Tcl_GetHashValue(he);
2765
#undef STATIC_NAMELEN
2765
#undef STATIC_NAMELEN
2766
}
2766
}
2767
2767

Return to bug 149880