From: Gary V. Vaughan Date: Tue, 20 Feb 2001 01:48:03 +0000 (+0000) Subject: * libltdl/ltdl.c (lt_dlcaller_register): dont set an unsigned X-Git-Tag: multi-language-merge-point~71 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c062f0590e05ec957d0d1c05923f57eeed468f7a;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 c4886b623..329b55160 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +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-15 Robert Boehne * ltconfig.in: Under AIX 4&5 check to see if we're using 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; }