]> git.pld-linux.org Git - packages/csmash.git/blob - csmash-types.patch
- updated gettext BR
[packages/csmash.git] / csmash-types.patch
1 diff -burN csmash-0.6.6.orig/loadparts.cpp csmash-0.6.6/loadparts.cpp
2 --- csmash-0.6.6.orig/loadparts.cpp     2003-11-30 18:38:43.000000000 +0100
3 +++ csmash-0.6.6/loadparts.cpp  2003-11-30 18:40:20.000000000 +0100
4 @@ -245,7 +245,7 @@
5  
6         while ('\\' == line[l-1]) {
7              // concat next line(s)
8 -           int bufsize = clamp(0U, sizeof(line)-l, sizeof(line)-1);
9 +           int bufsize = clamp((size_t)0U, sizeof(line)-l, sizeof(line)-1);
10             fgets(&line[l-2], bufsize, fp);
11             if (feof((FILE*)fp)) break;
12             l = strlen(line);
This page took 0.09455 seconds and 3 git commands to generate.