OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-4648-gac39d87

Gerrit Code Review gerrit@openafs.org
Sat, 1 Aug 2015 23:05:47 -0400


The following commit has been merged in the master branch:
commit ac39d879f8cb6adc11efecef4cb3966582e09c82
Author: Anders Kaseorg <andersk@mit.edu>
Date:   Sat Aug 1 05:54:42 2015 -0400

    tests/opr/time-t.c: Use labs instead of abs for long argument
    
    Resolves this warning with clang:
    
    time-t.c:46:8: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause
          truncation of value [-Wabsolute-value]
        ok(abs(osTime - osNow) < 2, "opr_time_Now returns a reasonable value");
           ^
    time-t.c:46:8: note: use function 'labs' instead
        ok(abs(osTime - osNow) < 2, "opr_time_Now returns a reasonable value");
           ^~~
           labs
    
    Change-Id: Ib98069e1349161d936c8ada0e69f9b33d2f71ce3
    Reviewed-on: http://gerrit.openafs.org/11965
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>

 tests/opr/time-t.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

-- 
OpenAFS Master Repository