ecere/com/containers/LinkList: Fixed issue in 32 bit
authorJerome St-Louis <jerome@ecere.com>
Tue, 2 Dec 2014 04:07:27 +0000 (23:07 -0500)
committerJerome St-Louis <jerome@ecere.com>
Sun, 15 Feb 2015 18:50:47 +0000 (13:50 -0500)
- Incompatible prototype being used for LinkList::Delete
   (64 bit template parameter vs. pointer)

ecere/src/com/containers/LinkList.ec

index 1cb5ee6..a94dcd6 100644 (file)
@@ -173,7 +173,9 @@ public:
       }
    }
 
-   void Delete(LT item)
+   // TOFIX: This compiles without error but produces bad code, since the virtual method prototype is an IteratorPointer which should be a pointer, not a uint64
+   //void Delete(LT item)
+   void Delete(void * item)
    {
       Remove(item);
       delete item;