Fix for compiling with GCC 4
Brought to you by:
matheny
GCC 4 doesn't like LHS casts. This patch fixes the LHS
cast in src/plugins/ldap/commandline.c so that you can
build CPU on systems that use GCC 4 (e.g. SuSE 10.0).
Use this patch if you get the following error:
gcc -DHAVE_CONFIG_H -I. -I. -I../../../src/include -g
-O2 -w -MT commandline.lo -MD -MP -MF
.deps/commandline.Tpo -c commandline.c -fPIC -DPIC -o
.libs/commandline.lo
commandline.c: In function ‘parseCommand’:
commandline.c:86: error: invalid lvalue in assignment
Fix for building with GCC 4