[Date Prev][Date Next] [Chronological] [Thread] [Top]

Compiler warning on avl_insert (ITS#339)

Full_Name: Keith Thompson
Version: 1.2.7
URL: ftp://ftp.sdsc.edu/pub/outgoing/kst/OpenLDAP-patches-1.2.7/
Submission from: (NULL) (

A call to avl_insert causes a compiler warning.  It expects a pointer to
a function returning int; it's given a pointer to the predefined free()
function, which returns void.

The fix is to declare a new type VFP and use it for the second argument
to avl_free.

For more information, see the README file at the provided URL, which includes
fixes for this and two other problems.