[olsr-dev] [PATCH] Silenced another warning in lib/secure/src/olsrd_secure.c
Bernd Petrovitsch
(spam-protected)
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?
Bernd
--
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...
Name: olsrd-fix-warning-secure.patch
Type: text/x-patch
Size: 1486 bytes
Desc: not available
URL: <http://lists.olsr.org/pipermail/olsr-dev/attachments/20051110/146d033c/attachment.bin>
More information about the Olsr-dev
mailing list