Skip to content

Commit 1b91ced

Browse files
printfs in benchmark
1 parent 727ef28 commit 1b91ced

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/benchmark/t1_demo.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,9 @@ int main (int argc, char **argv)
102102
int ntrials = 5 ;
103103
// ntrials = 1 ; // HACK
104104
printf ("# of trials: %d\n", ntrials) ;
105-
printf ("sizeof (clock_t): %d\n", sizeof (clock_t)) ;
106-
printf ("sizeof (long long int): %d\n", sizeof (long long int)) ;
107-
printf ("sizeof (long): %d\n", sizeof (long)) ;
105+
printf ("sizeof (clock_t): %d\n", (int) sizeof (clock_t)) ;
106+
printf ("sizeof (long long int): %d\n", (int) sizeof (long long int)) ;
107+
printf ("sizeof (long): %d\n", (int) sizeof (long)) ;
108108

109109
int nt = NTHREAD_LIST ;
110110
int Nthreads [20] = { 0, THREAD_LIST } ;

0 commit comments

Comments
 (0)