]> git.pld-linux.org Git - packages/csmash.git/blame - csmash-types.patch
- do not list %{_desktopdir}/* -- dangerous, could list directories unexpectedly
[packages/csmash.git] / csmash-types.patch
CommitLineData
f4756624
AG
1diff -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
5ee2ebcb
JB
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.031346 seconds and 4 git commands to generate.