]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libltdl/ltdl.c (lt_dlcaller_register): dont set an unsigned
authorGary V. Vaughan <gary@gnu.org>
Tue, 20 Feb 2001 01:48:03 +0000 (01:48 +0000)
committerGary V. Vaughan <gary@gnu.org>
Tue, 20 Feb 2001 01:48:03 +0000 (01:48 +0000)
type to a negative number.
Reported by Guenter Millahn <Guenter.Millahn@Informatik.TU-Cottbus.DE>

ChangeLog
libltdl/ltdl.c

index c4886b623989b9056ca671ca15443cd953961e8d..329b5516096374a6c28d25bba471c29d2dcd63e9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2001-02-20  Gary Vaughan  <gvv@techie.com>
+
+       * libltdl/ltdl.c (lt_dlcaller_register): dont set an unsigned
+       type to a negative number.
+       Reported by Guenter Millahn <Guenter.Millahn@Informatik.TU-Cottbus.DE>
+
+
 2001-02-15  Robert Boehne  <rboehne@ricardo-us.com>
        
        * ltconfig.in: Under AIX 4&5 check to see if we're using
index 4e138ca2b3e12ffea61bb0af262f9e8be5e8db07..98018662ab2208fd94d700dc3eb61d5c3bf9e8bb 100644 (file)
@@ -2523,7 +2523,7 @@ lt_dlforeach (func, data)
 lt_dlcaller_id
 lt_dlcaller_register ()
 {
-  static unsigned last_caller_id = -1;
+  static int last_caller_id = -1;
 
   return ++last_caller_id;
 }