Add nextNodeBefore primitive.
[SXSI/XMLTree.git] / libcds / tests / static_sequence_tester.cpp
index 01712f8..48906f1 100644 (file)
@@ -51,8 +51,8 @@ void test_static_sequence(uint * symbols, uint n, static_sequence * ss) {
     occ[i] = 0;
   bool error = false;
   for(uint i=0;i<n && !error;i++) {
-    if(i!=0 && i%max(1,(n-1)/100)==0) { cout << "."; cout.flush(); }
-    if(i!=0 && i%max(1,(n-1)/10)==0) cout << endl;
+    if(i!=0 && i%max((uint)1,(n-1)/100)==0) { cout << "."; cout.flush(); }
+    if(i!=0 && i%max((uint)1,(n-1)/10)==0) cout << endl;
     occ[symbols[i]]++;
     uint a = /*symbols[i]; /*/ss->access(i);
     uint r = /*occ[symbols[i]];/*/ss->rank(symbols[i],i);