Sophie

Sophie

distrib > Mandriva > 2009.0 > x86_64 > by-pkgid > b33e1ee0e02d67181a44be1ec6ac9a63 > files > 1

freqtweak-0.7.0-0.20080311.1mdv2009.0.src.rpm

--- ../orig/freqtweak-0.7.0~cvs20070605.orig/src/FTprocOrderDialog.cpp	2005-08-14 18:15:47.000000000 +0200
+++ src/FTprocOrderDialog.cpp	2007-06-05 10:23:41.000000000 +0200
@@ -210,7 +210,7 @@
 	for (; mod != mlist.end(); ++mod)
 	{
 		item.SetText (wxString::FromAscii ((*mod)->getName().c_str()));
-		item.SetData ((unsigned) (*mod));
+		item.SetData ((unsigned long) (*mod));
 		item.SetId(pos++);
 		
 		_sourceList->InsertItem(item);
@@ -230,7 +230,7 @@
 		for (unsigned int n=0; n < procmods.size(); ++n)
 		{
 			item.SetText (wxString::FromAscii (procmods[n]->getName().c_str()));
-			item.SetData ((unsigned) procmods[n]);
+			item.SetData ((unsigned long) procmods[n]);
 			item.SetId (n);
 			
 			_targetList->InsertItem(item);
@@ -441,7 +441,7 @@
 
 		if (proc) {
 			item.SetText (wxString::FromAscii (proc->getName().c_str()));
-			item.SetData ((unsigned)proc);
+			item.SetData ((unsigned long)proc);
 			item.SetId (_targetList->GetItemCount());
 			
 			_targetList->InsertItem(item);