Index: ChangeLog from Gary V. Vaughan * libltdl/ltdl.c (lt_dlcaller_register): Caller ids are allocated starting from value `1', so that clients can use a value of zero to indicate that libltdl has not yet initialised. Index: libltdl/ltdl.c =================================================================== RCS file: /cvsroot/libtool/libtool/libltdl/ltdl.c,v retrieving revision 1.147 diff -b -u -r1.147 ltdl.c --- libltdl/ltdl.c 2001/08/13 22:53:39 1.147 +++ libltdl/ltdl.c 2001/08/14 22:39:45 @@ -3538,7 +3538,7 @@ lt_dlcaller_id lt_dlcaller_register () { - static int last_caller_id = -1; + static lt_dlcaller_id last_caller_id = 0; int result; LT_DLMUTEX_LOCK ();