Fix some things that C++ doesn't like so we don't lose the possibility to use the...
[satune.git] / src / AST / predicate.c
index 2beef617d2c5ec9a5b1dee7c7289ccd79c14d14a..09adb1b07b1f2ec769479dd4bc8716f09b4a4abf 100644 (file)
@@ -2,11 +2,11 @@
 #include "structs.h"
 
 
-Predicate* allocPredicate(enum CompOp op, Set ** domain, uint numDomain){
+Predicate* allocPredicate(CompOp op, Set ** domain, uint numDomain){
     Predicate* predicate = (Predicate*) ourmalloc(sizeof(Predicate));
     predicate->domains = allocDefVectorSet();
     for(uint i=0; i<numDomain; i++)
         pushVectorSet(predicate->domains,domain[i]);
     predicate->op=op;
     return predicate;
-}
\ No newline at end of file
+}