[Olsr-cvs] olsrd-current/src hashing.c,1.15,1.16
Bernd Petrovitsch
(spam-protected)
Fri Aug 3 00:00:01 CEST 2007
Update of /cvsroot/olsrd/olsrd-current/src
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv3000/src
Modified Files:
hashing.c
Log Message:
* fixed a bad cast
Index: hashing.c
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/src/hashing.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** hashing.c 2 Aug 2007 14:47:26 -0000 1.15
--- hashing.c 2 Aug 2007 21:59:59 -0000 1.16
***************
*** 59,63 ****
} else {
/* IPv6 */
! const char * const tmp = (char *)&address->v6;
hash = ntohl(*tmp);
}
--- 59,63 ----
} else {
/* IPv6 */
! const char * const tmp = (const char *)&address->v6;
hash = ntohl(*tmp);
}
More information about the Olsr-cvs
mailing list