From: Gary V. Vaughan Date: Tue, 20 Feb 2001 01:51:50 +0000 (+0000) Subject: * libltdl/ltdl.c (lt_dlcaller_register): dont set an unsigned X-Git-Tag: release-1-3d~19 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b37d4417e50e270811955b19e215530124bee5a1;p=thirdparty%2Flibtool.git * libltdl/ltdl.c (lt_dlcaller_register): dont set an unsigned type to a negative number. Reported by Guenter Millahn --- diff --git a/ChangeLog b/ChangeLog index f87170263..a2bea7aa5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2001-02-20 Gary Vaughan + + * libltdl/ltdl.c (lt_dlcaller_register): dont set an unsigned + type to a negative number. + Reported by Guenter Millahn + 2001-02-05 Gary V. Vaughan From Nick Hudson diff --git a/libltdl/ltdl.c b/libltdl/ltdl.c index 4e138ca2b..98018662a 100644 --- a/libltdl/ltdl.c +++ b/libltdl/ltdl.c @@ -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; }