From 9823db8f2a475ec095a619ecb40f037411944f67 Mon Sep 17 00:00:00 2001 From: Johan Danielsson Date: Thu, 4 May 2006 11:46:45 +0000 Subject: [PATCH] change some casts from unsigned to signed types git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17433 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/krb5/store.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/krb5/store.c b/lib/krb5/store.c index b078ed741..8617c16d8 100644 --- a/lib/krb5/store.c +++ b/lib/krb5/store.c @@ -185,7 +185,7 @@ krb5_error_code KRB5_LIB_FUNCTION krb5_store_uint32(krb5_storage *sp, uint32_t value) { - return krb5_store_int32(sp, (uint32_t)value); + return krb5_store_int32(sp, (int32_t)value); } static krb5_error_code @@ -240,7 +240,7 @@ krb5_error_code KRB5_LIB_FUNCTION krb5_store_uint16(krb5_storage *sp, uint16_t value) { - return krb5_store_int16(sp, (uint16_t)value); + return krb5_store_int16(sp, (int16_t)value); } krb5_error_code KRB5_LIB_FUNCTION @@ -283,7 +283,7 @@ krb5_error_code KRB5_LIB_FUNCTION krb5_store_uint8(krb5_storage *sp, uint8_t value) { - return krb5_store_int8(sp, (uint8_t)value); + return krb5_store_int8(sp, (int8_t)value); } krb5_error_code KRB5_LIB_FUNCTION