* prof_init.c (prof_int32): If long is 4 bytes and int is not, then use long,
authorKen Raeburn <raeburn@mit.edu>
Thu, 19 Feb 2004 23:02:54 +0000 (23:02 +0000)
committerKen Raeburn <raeburn@mit.edu>
Thu, 19 Feb 2004 23:02:54 +0000 (23:02 +0000)
not int, for prof_int32.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16105 dc483132-0cff-0310-8789-dd5450dbe970

src/util/profile/ChangeLog
src/util/profile/prof_init.c

index f3fe34151d524cdf984375ff2bcda1d051bf0f21..07df01cb374177896b5b2fccb67b1deeadb5f3a8 100644 (file)
@@ -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,
index 703631d3bf4057b1d142fd0f1a9c67ffc517630f..de09d783264fa932ba5386d0bf6709bf58b4ed1c 100644 (file)
@@ -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 */