]> git.pld-linux.org Git - packages/csmash.git/blame - csmash-types.patch
- removed two lines with define
[packages/csmash.git] / csmash-types.patch
CommitLineData
5ee2ebcb
JB
1--- csmash-0.6.4/loadparts.cpp.orig Tue Mar 5 15:23:19 2002
2+++ csmash-0.6.4/loadparts.cpp Thu Aug 29 13:22:49 2002
3@@ -245,7 +245,7 @@
4
5 while ('\\' == line[l-1]) {
6 // concat next line(s)
7- int bufsize = clamp(0U, sizeof(line)-l, sizeof(line)-1);
8+ int bufsize = clamp((size_t)0U, sizeof(line)-l, sizeof(line)-1);
9 fgets(&line[l-2], bufsize, fp);
10 if (feof((FILE*)fp)) break;
11 l = strlen(line);
12@@ -430,7 +430,7 @@
13 }
14 }
15 if (!i) {
16- printf("%d: %s is empty object\n", lineno, object->name);
17+ printf("%d: %s is empty object\n", lineno, object->name.data());
18 }
19 return true;
20 }
This page took 0.256769 seconds and 4 git commands to generate.