* updated korganizer (21.12.1 -> 21.12.2), untested
[t2-trunk.git] / package / multimedia / dvbd / 64bit.patch
blobd76a53e11dfe9813d6255b32ee78312312329707
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../dvbd/64bit.patch
5 # Copyright (C) 2004 - 2005 The T2 SDE Project
6 #
7 # More information can be found in the files COPYING and README.
8 #
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
14 # version.
15 # --- T2-COPYRIGHT-NOTE-END ---
17 On 32bit platforms it accidently compiles, however on 32bit platforms we
18 either must cast to int, or would need a long overload ...
20 - Rene Rebe <rene@exactcode.de>
22 --- dvbd-0.7.7/src/controlledconnection.cpp.vanilla 2005-12-16 16:13:34.000000000 +0100
23 +++ dvbd-0.7.7/src/controlledconnection.cpp 2005-12-16 16:14:20.000000000 +0100
24 @@ -151,7 +151,7 @@
25 else if (words[0] == "TUNE") {
26 if (words.size() != 5)
27 writeControl("ERROR TUNE WRONG NUMBER OF ARGS (Expected 4, got " +
28 - ::toString(words.size() - 1) + ")\n");
29 + ::toString((int)words.size() - 1) + ")\n");
30 else {
31 const std::string &type = words[1];
32 std::string channel = unescapeWS(words[2]);
33 @@ -179,7 +179,7 @@
34 else if (words[0] == "SCHEDULE") {
35 if (words.size() != 10)
36 writeControl("ERROR SCHEDULE WRONG NUMBER OF ARGS (Expected 9, got " +
37 - ::toString(words.size() - 1) + ")\n");
38 + ::toString((int)words.size() - 1) + ")\n");
39 else {
40 std::string dateTime = words[1] + " " + words[2];
42 @@ -239,7 +239,7 @@
43 else if (words[0] == "REMOVEJOB") {
44 if (words.size() != 2)
45 writeControl("ERROR REMOVEJOB WRONG NUMBER OF ARGS (Expected 1, got " +
46 - ::toString(words.size() - 1) + ")\n");
47 + ::toString((int)words.size() - 1) + ")\n");
48 else {
49 int job = toInt(words[1]);
50 if (!scheduler->remove(job) && !cm->removeJob(job))