Page MenuHomeFreeBSD

kerberos5/lib/libkdc build warning fixes
Needs ReviewPublic

Authored by aprieger_llnw.com on Jun 5 2017, 6:34 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Apr 13, 9:32 PM
Unknown Object (File)
Sat, Apr 13, 12:34 AM
Unknown Object (File)
Mar 8 2024, 12:45 AM
Unknown Object (File)
Dec 14 2023, 10:58 AM
Unknown Object (File)
Nov 18 2023, 4:50 AM
Unknown Object (File)
Nov 18 2023, 4:34 AM
Unknown Object (File)
Nov 14 2023, 5:07 PM
Unknown Object (File)
Oct 7 2023, 11:58 AM
Subscribers
None

Details

Reviewers
kbowling
sbruno
Summary

kerberos5/lib/libkdc build time warning fixes

Diff Detail

Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 9679
Build 10119: arc lint + arc unit

Event Timeline

Changelog:
Pre-fix warnings are at: https://github.llnw.net/gist/aprieger/fc51f108152d4ef69f5c

  1. crypto/heimdal/kdc/digest.c
    • Warnings:
      • 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]
    • Fixes:
      • changed the abs() function to labs() to handle the long argument on line 608
  2. crypto/heimdal/kdc/kerberos5.c
    • Warnings:
      • 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]
    • Fixes:
      • changed the abs() function to labs() to handle the long argument on line 1299 and 1310
  3. crypto/heimdal/kdc/pkinit.c
    • Warnings:
      • 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]
    • Fixes:
      • changed the abs() function to labs() to handle the long argument on line 104 and 126