Magellan Linux

Annotation of /trunk/rezound/patches/rezound-0.12.2.b-amd64.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 153 - (hide annotations) (download)
Tue May 8 20:52:56 2007 UTC (17 years, 1 month ago) by niro
File size: 3153 byte(s)
-import

1 niro 153 diff -Naur rezound-0.12.2beta.orig/src/frontend_fox/CMainWindow.cpp rezound-0.12.2beta/src/frontend_fox/CMainWindow.cpp
2     --- rezound-0.12.2beta.orig/src/frontend_fox/CMainWindow.cpp 2005-09-05 00:31:10.000000000 +0200
3     +++ rezound-0.12.2beta/src/frontend_fox/CMainWindow.cpp 2006-07-14 00:41:44.000000000 +0200
4     @@ -433,7 +433,7 @@
5    
6     long CMainWindow::onSoundListChange(FXObject *sender,FXSelector sel,void *ptr)
7     {
8     - FXint index=(FXint)ptr;
9     + FXint index=(long)ptr;
10    
11     if(index>=0 && index<soundList->getNumItems())
12     {
13     @@ -1836,13 +1836,13 @@
14    
15     if(pos==0 && FXSELID(sel)==ID_SHUTTLE_BACKWARD)
16     {
17     - if((unsigned)ptr > 1/*came from keyboard event*/) enableAutoRepeat(getApp()->getDisplay(),false); // QQQ
18     + if((long)ptr > 1/*came from keyboard event*/) enableAutoRepeat(getApp()->getDisplay(),false); // QQQ
19     shuttleDial->setValue(pos-inc);
20     onShuttleChange(sender,sel,ptr);
21     }
22     else if(pos==0 && FXSELID(sel)==ID_SHUTTLE_FORWARD)
23     {
24     - if((unsigned)ptr > 1/*came from keyboard event*/) enableAutoRepeat(getApp()->getDisplay(),false); // QQQ
25     + if((long)ptr > 1/*came from keyboard event*/) enableAutoRepeat(getApp()->getDisplay(),false); // QQQ
26     shuttleDial->setValue(pos+inc);
27     onShuttleChange(sender,sel,ptr);
28     }
29     diff -Naur rezound-0.12.2beta.orig/src/frontend_fox/CMp3Dialog.cpp rezound-0.12.2beta/src/frontend_fox/CMp3Dialog.cpp
30     --- rezound-0.12.2beta.orig/src/frontend_fox/CMp3Dialog.cpp 2004-06-19 05:53:18.000000000 +0200
31     +++ rezound-0.12.2beta/src/frontend_fox/CMp3Dialog.cpp 2006-07-14 00:42:25.000000000 +0200
32     @@ -170,7 +170,7 @@
33    
34     long CMp3Dialog::onRadioButton(FXObject *sender,FXSelector sel,void *ptr)
35     {
36     - if((int)ptr==0) // only act when ptr==1 when it's getting checked
37     + if((long)ptr==0) // only act when ptr==1 when it's getting checked
38     return 1;
39    
40     // turn off all buttons
41     diff -Naur rezound-0.12.2beta.orig/src/frontend_fox/COggDialog.cpp rezound-0.12.2beta/src/frontend_fox/COggDialog.cpp
42     --- rezound-0.12.2beta.orig/src/frontend_fox/COggDialog.cpp 2004-02-11 06:11:17.000000000 +0100
43     +++ rezound-0.12.2beta/src/frontend_fox/COggDialog.cpp 2006-07-14 00:42:06.000000000 +0200
44     @@ -136,7 +136,7 @@
45    
46     long COggDialog::onRadioButton(FXObject *sender,FXSelector sel,void *ptr)
47     {
48     - if((int)ptr==0) // only act when ptr==1 when it's getting checked
49     + if((long)ptr==0) // only act when ptr==1 when it's getting checked
50     return 1;
51    
52     // turn off all buttons
53     diff -Naur rezound-0.12.2beta.orig/src/frontend_fox/CPasteChannelsDialog.cpp rezound-0.12.2beta/src/frontend_fox/CPasteChannelsDialog.cpp
54     --- rezound-0.12.2beta.orig/src/frontend_fox/CPasteChannelsDialog.cpp 2005-02-09 09:17:36.000000000 +0100
55     +++ rezound-0.12.2beta/src/frontend_fox/CPasteChannelsDialog.cpp 2006-07-14 00:40:51.000000000 +0200
56     @@ -206,7 +206,7 @@
57     {
58     pasteChannels.clear();
59    
60     - actionParameters->setValue<unsigned>(_("MixMethod"),(unsigned)(mixTypeComboBox->getItemData(mixTypeComboBox->getCurrentItem())));
61     + actionParameters->setValue<unsigned>(_("MixMethod"),(long)(mixTypeComboBox->getItemData(mixTypeComboBox->getCurrentItem())));
62    
63     if(repeatTypeComboBox->getCurrentItem()==0)
64     { // repeating it a given number of times