[olsr-dev] [PATCH] Silenced another warning in lib/secure/src/olsrd_secure.c
Thu Nov 10 19:52:24 CET 2005
The attached patch silences another warning in
lib/secure/src/olsrd_secure.c with an ugly cast. I marked it FIXME to
find it again and remove it cleanly, but this needs more time about
the involved librariers etc.
As one might expect now I want to get rid of warnings to be able use
-Werror (at least for me).
Actually the source seems quite undecided if data buffers (which are
probably no strings AFAICS) should be "unsigned char *" or "char *" and
mixing them (without "void *" in between) gives warnings or needs casts.
So what is the theoretical solution?
Firmix Software GmbH http://www.firmix.at/
mobil: +43 664 4416156 fax: +43 1 7890849-55
Embedded Linux Development and Services
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1486 bytes
Desc: not available
More information about the Olsr-dev