From: Ken Raeburn Date: Thu, 19 Feb 2004 23:02:54 +0000 (+0000) Subject: * prof_init.c (prof_int32): If long is 4 bytes and int is not, then use long, X-Git-Tag: krb5-1.4-beta1~598 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c76ebea17dd74777f7e01f39f43e58685670a914;p=krb5.git * prof_init.c (prof_int32): If long is 4 bytes and int is not, then use long, not int, for prof_int32. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16105 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/util/profile/ChangeLog b/src/util/profile/ChangeLog index f3fe34151..07df01cb3 100644 --- a/src/util/profile/ChangeLog +++ b/src/util/profile/ChangeLog @@ -1,3 +1,8 @@ +2004-02-19 Ken Raeburn + + * prof_init.c (prof_int32): If long is 4 bytes and int is not, + then use long, not int, for prof_int32. + 2004-02-18 Ken Raeburn * prof_file.c, prof_get.c, prof_init.c, prof_parse.c, prof_set.c, diff --git a/src/util/profile/prof_init.c b/src/util/profile/prof_init.c index 703631d3b..de09d7832 100644 --- a/src/util/profile/prof_init.c +++ b/src/util/profile/prof_init.c @@ -18,7 +18,7 @@ typedef short prof_int32; #elif (SIZEOF_INT == 4) typedef int prof_int32; #elif (SIZEOF_LONG == 4) -typedef int prof_int32; +typedef long prof_int32; #else /* SIZEOF_LONG == 4 */ error(do not have a 4-byte integer type) #endif /* SIZEOF_LONG == 4 */