freebsd-ports/lang/ptoc/files/patch-tpexpr.cxx
Sergey A. Osokin 4c52f6c933 Update to 3.54.
Utilize ${DOCSDIR} and ${EXAMPLESDIR}.
Use new name schema for patch files.
Fix ${MASTER_SITES} and home page URL.
Take maintainership.
2003-09-24 13:32:25 +00:00

11 lines
421 B
C++

--- tpexpr.cxx.old Sat Feb 12 17:24:29 2000
+++ tpexpr.cxx Sat Feb 12 17:24:41 2000
@@ -170,7 +170,7 @@
if (!e->is_parameter() && (base == 0 || base == 1)) {
t->prepend(dprintf("items(%.*s", n, "****************"));
t->copy(e->f_tkn, e->l_tkn);
- t->prepend(base == 0 ? ")-1" : ")");
+ t->prepend(base == 0 ? (char *) ")-1" : (char *) ")");
} else {
if (high == NULL) {
assert(high_expr != NULL);