Fixed - thanks!

> On Feb 26, 2015, at 3:22 PM, Paul Hargrove <[email protected]> wrote:
> 
> Clang noted the following on FreeBSD-10/amd64 using the current master 
> tarball:
> 
> Making check in threads
> make  opal_thread opal_condition
>   CC       opal_thread.o
>   CCLD     opal_thread
>   CC       opal_condition.o
> /home/phargrov/OMPI/openmpi-master-freebsd10-amd64/openmpi-dev-1118-gdc80863/test/threads/opal_condition.c:72:
> 61: warning: format specifies type 'long' but the argument has type 'int' 
> [-Wformat]
>     fprintf(stderr, "thr1: time per iteration: %ld usec\n", (c2 - c1) / 
> TEST_COUNT);
>                                                ~~~          
> ^~~~~~~~~~~~~~~~~~~~~~
>                                                %d
> /home/phargrov/OMPI/openmpi-master-freebsd10-amd64/openmpi-dev-1118-gdc80863/test/threads/opal_condition.c:89:
> 61: warning: format specifies type 'long' but the argument has type 'int' 
> [-Wformat]
>     fprintf(stderr, "thr2: time per iteration: %ld usec\n", (c2 - c1) / 
> TEST_COUNT);
>                                                ~~~          
> ^~~~~~~~~~~~~~~~~~~~~~
>                                                %d
> 2 warnings generated.
> 
> 
> -Paul
> 
> -- 
> Paul H. Hargrove                          [email protected] 
> <mailto:[email protected]>
> Computer Languages & Systems Software (CLaSS) Group
> Computer Science Department               Tel: +1-510-495-2352
> Lawrence Berkeley National Laboratory     Fax: +1-510-486-6900
> _______________________________________________
> devel mailing list
> [email protected]
> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/devel
> Link to this post: 
> http://www.open-mpi.org/community/lists/devel/2015/02/17064.php

Reply via email to