]> 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:51:50 +0000 (01:51 +0000)
committerGary V. Vaughan <gary@gnu.org>
Tue, 20 Feb 2001 01:51:50 +0000 (01:51 +0000)
type to a negative number.
Reported by Guenter Millahn <Guenter.Millahn@Informatik.TU-Cottbus.DE>

ChangeLog
libltdl/ltdl.c

index f871702637c47bfac007ac2852efb28cc95a60fd..a2bea7aa5ad0888cf6314f9e9203934c273cafbd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+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-05  Gary V. Vaughan  <gvv@techie.com>
 
        From Nick Hudson <skrll@netbsd.org>
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;
 }