Index: Amaya.deb/thotlib/dialogue/AmayaAttributePanel.cpp
===================================================================
--- Amaya.deb.orig/thotlib/dialogue/AmayaAttributePanel.cpp	2007-10-17 19:45:35.000000000 +0100
+++ Amaya.deb/thotlib/dialogue/AmayaAttributePanel.cpp	2007-10-17 19:53:30.000000000 +0100
@@ -903,11 +903,11 @@
   return m_pChoice->GetStringSelection();
 }
 
-int AmayaEnumAttributeSubpanel::GetIntValue()
+intptr_t AmayaEnumAttributeSubpanel::GetIntValue()
 {
   if(m_type==AmayaAttributeToolPanel::wxATTR_INTTYPE_ENUM)
     {
-      return (int)m_pChoice->GetClientData(m_pChoice->GetSelection())+1;
+      return (intptr_t)m_pChoice->GetClientData(m_pChoice->GetSelection())+1;
     }
   else if(m_type==AmayaAttributeToolPanel::wxATTR_INTTYPE_NUM)
     {
@@ -1060,7 +1060,7 @@
 }
 
 
-int AmayaNumAttributeSubpanel::GetIntValue()
+intptr_t AmayaNumAttributeSubpanel::GetIntValue()
 {
   return m_pSpin->GetValue();
 }
@@ -1192,7 +1192,7 @@
             (const char*)m_pCombo->GetStringSelection().mb_str(wxConvUTF8)));
 }
 
-int AmayaLangAttributeSubpanel::GetIntValue()
+intptr_t AmayaLangAttributeSubpanel::GetIntValue()
 {
   return (int)TtaGetLanguageIdFromName((char*)
             (const char*)m_pCombo->GetStringSelection().mb_str(wxConvUTF8));
Index: Amaya.deb/thotlib/internals/h/AmayaAttributePanel.h
===================================================================
--- Amaya.deb.orig/thotlib/internals/h/AmayaAttributePanel.h	2007-10-17 19:47:05.000000000 +0100
+++ Amaya.deb/thotlib/internals/h/AmayaAttributePanel.h	2007-10-17 19:51:40.000000000 +0100
@@ -196,7 +196,7 @@
   /**
    * Get the int/enum value entered by the user.
    */
-  virtual int GetIntValue(){return 0;}
+  virtual intptr_t GetIntValue(){return 0;}
   /**
    * Helper function to send OK button event to parent.
    */
@@ -243,7 +243,7 @@
   /**
    * Get the int/enum value entered by the user.
    */
-  virtual int GetIntValue();
+  virtual intptr_t GetIntValue();
   
   virtual wxWindow* GetEditionControl(){return m_pChoice;}  
 private:
@@ -305,7 +305,7 @@
   /**
    * Get the int/enum value entered by the user.
    */
-  virtual int GetIntValue();
+  virtual intptr_t GetIntValue();
   /**
    * Get the string value entered by the user.
    */
@@ -342,7 +342,7 @@
   /**
    * Get the int/enum value entered by the user.
    */
-  virtual int GetIntValue();
+  virtual intptr_t GetIntValue();
 
   virtual wxWindow* GetEditionControl(){return m_pCombo;}  
 private:

