diff options
author | Ken Raeburn <raeburn@mit.edu> | 2004-02-19 23:02:54 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@mit.edu> | 2004-02-19 23:02:54 +0000 |
commit | c76ebea17dd74777f7e01f39f43e58685670a914 (patch) | |
tree | 16e36c8b9816de8fe7c3dde4bf1b53953527f79f /src/util/profile | |
parent | 2f6ea9303f3981e26929c3791a0b2dd9ac05610f (diff) | |
download | krb5-c76ebea17dd74777f7e01f39f43e58685670a914.tar.gz krb5-c76ebea17dd74777f7e01f39f43e58685670a914.tar.xz krb5-c76ebea17dd74777f7e01f39f43e58685670a914.zip |
* 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
Diffstat (limited to 'src/util/profile')
-rw-r--r-- | src/util/profile/ChangeLog | 5 | ||||
-rw-r--r-- | src/util/profile/prof_init.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/src/util/profile/ChangeLog b/src/util/profile/ChangeLog index f3fe34151d..07df01cb37 100644 --- a/src/util/profile/ChangeLog +++ b/src/util/profile/ChangeLog @@ -1,3 +1,8 @@ +2004-02-19 Ken Raeburn <raeburn@mit.edu> + + * 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 <raeburn@mit.edu> * 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 703631d3bf..de09d78326 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 */ |