OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

50 lines
2.0 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../dvbd/64bit.patch
  5. # Copyright (C) 2004 - 2006 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. # --- SDE-COPYRIGHT-NOTE-END ---
  16. On 32bit platforms it accidently compiles, however on 32bit platforms we
  17. either must cast to int, or would need a long overload ...
  18. - Rene Rebe <rene@exactcode.de>
  19. --- dvbd-0.7.7/src/controlledconnection.cpp.vanilla 2005-12-16 16:13:34.000000000 +0100
  20. +++ dvbd-0.7.7/src/controlledconnection.cpp 2005-12-16 16:14:20.000000000 +0100
  21. @@ -151,7 +151,7 @@
  22. else if (words[0] == "TUNE") {
  23. if (words.size() != 5)
  24. writeControl("ERROR TUNE WRONG NUMBER OF ARGS (Expected 4, got " +
  25. - ::toString(words.size() - 1) + ")\n");
  26. + ::toString((int)words.size() - 1) + ")\n");
  27. else {
  28. const std::string &type = words[1];
  29. std::string channel = unescapeWS(words[2]);
  30. @@ -179,7 +179,7 @@
  31. else if (words[0] == "SCHEDULE") {
  32. if (words.size() != 10)
  33. writeControl("ERROR SCHEDULE WRONG NUMBER OF ARGS (Expected 9, got " +
  34. - ::toString(words.size() - 1) + ")\n");
  35. + ::toString((int)words.size() - 1) + ")\n");
  36. else {
  37. std::string dateTime = words[1] + " " + words[2];
  38. @@ -239,7 +239,7 @@
  39. else if (words[0] == "REMOVEJOB") {
  40. if (words.size() != 2)
  41. writeControl("ERROR REMOVEJOB WRONG NUMBER OF ARGS (Expected 1, got " +
  42. - ::toString(words.size() - 1) + ")\n");
  43. + ::toString((int)words.size() - 1) + ")\n");
  44. else {
  45. int job = toInt(words[1]);
  46. if (!scheduler->remove(job) && !cm->removeJob(job))