1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 # T2 SDE: package/.../dvbd/64bit.patch
5 # Copyright (C) 2004 - 2005 The T2 SDE Project
7 # More information can be found in the files COPYING and README.
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
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
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");
31 const std::string &type = words[1];
32 std::string channel = unescapeWS(words[2]);
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");
40 std::string dateTime = words[1] + " " + words[2];
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");
49 int job = toInt(words[1]);
50 if (!scheduler->remove(job) && !cm->removeJob(job))