Compiler warning fix.
authorYang Tse <yangsita@gmail.com>
Fri, 27 Oct 2006 15:32:18 +0000 (15:32 +0000)
committerYang Tse <yangsita@gmail.com>
Fri, 27 Oct 2006 15:32:18 +0000 (15:32 +0000)
commita93695a70ea273417ad6c52323d7a7d2c47b8a2b
tree56c79cd1dbf63795de4b5b77ccbe8bef84dfec99
parentce935a26971ea6d6fd2726c27b5f83353eaf2a7e
Compiler warning fix.

Assigning the const value zero to a pointer to function
results in a null pointer value assignment to the function
pointer.

Assignment of any nonzero value is what should result in a
implementation compiler dependent result.

Since what we want to do here is the first case, this should
not trigger compiler warnings related with conversions from
'pointer to data' to 'pointer to function'.

Our autobuild test suite will judge.
lib/ldap.c
lib/url.c