From c062f0590e05ec957d0d1c05923f57eeed468f7a Mon Sep 17 00:00:00 2001 From: "Gary V. Vaughan" Date: Tue, 20 Feb 2001 01:48:03 +0000 Subject: [PATCH] * libltdl/ltdl.c (lt_dlcaller_register): dont set an unsigned type to a negative number. Reported by Guenter Millahn --- ChangeLog | 7 +++++++ libltdl/ltdl.c | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) 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; } -- 2.47.3