Index: tests/concurrency/pthread/bounded_buffer.cfa
===================================================================
--- tests/concurrency/pthread/bounded_buffer.cfa	(revision 10b5970650e2ff3d8e757dd5c91889d466e44fe0)
+++ tests/concurrency/pthread/bounded_buffer.cfa	(revision bada4522ea3690a8c1e1e7fcc062da84bb3a7114)
@@ -126,5 +126,5 @@
                 exit( EXIT_FAILURE );
             } // if
-            if ( (uint64_t)result != 0 ) {
+            if ( result != 0p ) {
                 sout | "producers" | prods[i] |" bad return value " | result;
                 exit( EXIT_FAILURE );
@@ -142,5 +142,5 @@
                 exit( EXIT_FAILURE );
             } // if
-            if ( (uint64_t)result != 0 ) {
+            if ( result != 0p ) {
                 sout| "consumers bad return value" | result;
                 exit( EXIT_FAILURE );
Index: tests/concurrency/pthread/pthread_demo_lock.cfa
===================================================================
--- tests/concurrency/pthread/pthread_demo_lock.cfa	(revision 10b5970650e2ff3d8e757dd5c91889d466e44fe0)
+++ tests/concurrency/pthread/pthread_demo_lock.cfa	(revision bada4522ea3690a8c1e1e7fcc062da84bb3a7114)
@@ -15,5 +15,5 @@
 // unlocked increnment
 void* inc_unlock(void* cnt){
-    for (int i = 0; i < (uint64_t)cnt; i++){
+    for (uintptr_t i = 0; i < (uintptr_t)cnt; i++){
         cnt_nolock++;
     }   // for
@@ -23,5 +23,5 @@
 void* inc_lock(void* cnt){
     pthread_mutex_lock(&_mutex);
-    for (int i = 0; i < (uint64_t)cnt; i++){
+    for (uintptr_t i = 0; i < (uintptr_t)cnt; i++){
         cnt_lock++;
     }   // for
@@ -73,5 +73,5 @@
     sout | "in trylocktest2 res2 is" | res;
     pthread_mutex_lock(&_mutex);
-    for (int i = 0; i < (uint64_t)arg; i++) cnt_trylock++;
+    for (uintptr_t i = 0; i < (uintptr_t)arg; i++) cnt_trylock++;
     pthread_mutex_unlock(&_mutex);
     return NULL;
@@ -87,5 +87,5 @@
 
     // inc cnt then release the lock
-    for (int i = 0; i < (uint64_t)arg; i++) cnt_trylock++;
+    for (uintptr_t i = 0; i < (uintptr_t)arg; i++) cnt_trylock++;
     pthread_mutex_unlock(&_mutex);
     pthread_mutex_unlock(&_mutex);
@@ -113,5 +113,5 @@
 
 
-int main(int argc, char const *argv[])
+int main()
 {
     
Index: tests/concurrency/pthread/pthread_once_test.cfa
===================================================================
--- tests/concurrency/pthread/pthread_once_test.cfa	(revision 10b5970650e2ff3d8e757dd5c91889d466e44fe0)
+++ tests/concurrency/pthread/pthread_once_test.cfa	(revision bada4522ea3690a8c1e1e7fcc062da84bb3a7114)
@@ -74,6 +74,6 @@
                                                                                         
             if (thread_stat[i] != 0)                                                    
-                printf("bad thread status, thread %d, status=%d\n", i+1,                
-                                                        (int)thread_stat[i]);             
+                printf("bad thread status, thread %d, status=%zu\n", i+1,                
+                                                        (size_t)thread_stat[i]);             
         }                                                                             
                                                                                         
