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.

80 lines
3.4 KiB

  1. # --- T2-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # T2 SDE: package/.../rezound/gcc-4.0-64.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. # --- T2-COPYRIGHT-NOTE-END ---
  16. Gcc-4.0 does not like loosing precision in pointer casts.
  17. - Rene Rebe <rene@exactcode.de>
  18. --- rezound-0.12.2beta/src/frontend_fox/CPasteChannelsDialog.cpp.vanilla 2005-10-28 12:01:58.000000000 +0200
  19. +++ rezound-0.12.2beta/src/frontend_fox/CPasteChannelsDialog.cpp 2005-10-28 12:03:12.000000000 +0200
  20. @@ -206,7 +206,7 @@
  21. {
  22. pasteChannels.clear();
  23. - actionParameters->setValue<unsigned>(_("MixMethod"),(unsigned)(mixTypeComboBox->getItemData(mixTypeComboBox->getCurrentItem())));
  24. + actionParameters->setValue<unsigned>(_("MixMethod"),(long)(mixTypeComboBox->getItemData(mixTypeComboBox->getCurrentItem())));
  25. if(repeatTypeComboBox->getCurrentItem()==0)
  26. { // repeating it a given number of times
  27. --- rezound-0.12.2beta/src/frontend_fox/CMainWindow.cpp.vanilla 2005-10-28 11:55:32.000000000 +0200
  28. +++ rezound-0.12.2beta/src/frontend_fox/CMainWindow.cpp 2005-10-28 12:01:13.000000000 +0200
  29. @@ -433,7 +433,7 @@
  30. long CMainWindow::onSoundListChange(FXObject *sender,FXSelector sel,void *ptr)
  31. {
  32. - FXint index=(FXint)ptr;
  33. + FXint index=(long)ptr;
  34. if(index>=0 && index<soundList->getNumItems())
  35. {
  36. @@ -1836,13 +1836,13 @@
  37. if(pos==0 && FXSELID(sel)==ID_SHUTTLE_BACKWARD)
  38. {
  39. - if((unsigned)ptr > 1/*came from keyboard event*/) enableAutoRepeat(getApp()->getDisplay(),false); // QQQ
  40. + if((long)ptr > 1/*came from keyboard event*/) enableAutoRepeat(getApp()->getDisplay(),false); // QQQ
  41. shuttleDial->setValue(pos-inc);
  42. onShuttleChange(sender,sel,ptr);
  43. }
  44. else if(pos==0 && FXSELID(sel)==ID_SHUTTLE_FORWARD)
  45. {
  46. - if((unsigned)ptr > 1/*came from keyboard event*/) enableAutoRepeat(getApp()->getDisplay(),false); // QQQ
  47. + if((long)ptr > 1/*came from keyboard event*/) enableAutoRepeat(getApp()->getDisplay(),false); // QQQ
  48. shuttleDial->setValue(pos+inc);
  49. onShuttleChange(sender,sel,ptr);
  50. }
  51. --- rezound-0.12.2beta/src/frontend_fox/COggDialog.cpp.vanilla 2005-10-28 12:04:39.000000000 +0200
  52. +++ rezound-0.12.2beta/src/frontend_fox/COggDialog.cpp 2005-10-28 12:04:44.000000000 +0200
  53. @@ -136,7 +136,7 @@
  54. long COggDialog::onRadioButton(FXObject *sender,FXSelector sel,void *ptr)
  55. {
  56. - if((int)ptr==0) // only act when ptr==1 when it's getting checked
  57. + if((long)ptr==0) // only act when ptr==1 when it's getting checked
  58. return 1;
  59. // turn off all buttons
  60. --- rezound-0.12.2beta/src/frontend_fox/CMp3Dialog.cpp.vanilla 2005-10-28 12:05:01.000000000 +0200
  61. +++ rezound-0.12.2beta/src/frontend_fox/CMp3Dialog.cpp 2005-10-28 12:05:05.000000000 +0200
  62. @@ -170,7 +170,7 @@
  63. long CMp3Dialog::onRadioButton(FXObject *sender,FXSelector sel,void *ptr)
  64. {
  65. - if((int)ptr==0) // only act when ptr==1 when it's getting checked
  66. + if((long)ptr==0) // only act when ptr==1 when it's getting checked
  67. return 1;
  68. // turn off all buttons