Skip Menu |
 

From: hartmans@mit.edu
Subject: SVN Commit

The krb5_c_crypto_length API returns unsigned int per its design.
so, use unsigned int not size_t for its output.

https://github.com/krb5/krb5/commit/1f7b138d658c0ff543b309531dd8493e6503a913
Commit By: hartmans
Revision: 21799
Changed Files:
U trunk/src/lib/gssapi/krb5/k5sealv3iov.c
Why the cast to size_t? The function prototype should render it unnecessary.
From: Sam Hartman <hartmans@mit.edu>
To: rt@krbdev.mit.edu
Subject: Re: [krbdev.mit.edu #6351] gss_header|trailerlen should be unsigned int
Date: Thu, 29 Jan 2009 10:41:21 -0500
RT-Send-Cc:
Show quoted text
>>>>> "Tom" == Tom Yu via RT <rt-comment@krbdev.mit.edu> writes:

Show quoted text
Tom> Why the cast to size_t? The function prototype should render
Tom> it unnecessary.
Reflexiveness from -when Wconversion was enabled.