[Olsr-cvs] olsrd-current/lib/secure/src olsrd_secure.c,1.27,1.28
Bernd Petrovitsch
(spam-protected)
Sat Oct 20 17:16:34 CEST 2007
Update of /cvsroot/olsrd/olsrd-current/lib/secure/src
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv21739/lib/secure/src
Modified Files:
olsrd_secure.c
Log Message:
* fixed more compile bugs if DEBUG is enabled
Index: olsrd_secure.c
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/lib/secure/src/olsrd_secure.c,v
retrieving revision 1.27
retrieving revision 1.28
diff -C2 -d -r1.27 -r1.28
*** olsrd_secure.c 2 Aug 2007 14:37:09 -0000 1.27
--- olsrd_secure.c 20 Oct 2007 15:16:32 -0000 1.28
***************
*** 450,454 ****
struct s_olsrmsg *msg;
#ifdef DEBUG
! int i, j;
char *sigmsg;
#endif
--- 450,455 ----
struct s_olsrmsg *msg;
#ifdef DEBUG
! unsigned int i;
! int j;
char *sigmsg;
#endif
***************
*** 528,533 ****
#ifdef DEBUG
! int i, j;
! char *sigmsg;
#endif
--- 529,535 ----
#ifdef DEBUG
! unsigned int i;
! int j;
! olsr_u8_t *sigmsg;
#endif
***************
*** 546,550 ****
j = 0;
! sigmsg = (char *)sig;
for(i = 0; i < sizeof(struct s_olsrmsg); i++)
--- 548,552 ----
j = 0;
! sigmsg = (olsr_u8_t *)sig;
for(i = 0; i < sizeof(struct s_olsrmsg); i++)
***************
*** 609,613 ****
olsr_printf(1, "Recevied hash:\n");
! sigmsg = (char *)sig->sig.signature;
for(i = 0; i < SIGNATURE_SIZE; i++)
--- 611,615 ----
olsr_printf(1, "Recevied hash:\n");
! sigmsg = (olsr_u8_t *)sig->sig.signature;
for(i = 0; i < SIGNATURE_SIZE; i++)
More information about the Olsr-cvs
mailing list