Skip to content

Commit 722fefb

Browse files
committed
Compile warnings.
1 parent 18c65f4 commit 722fefb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/dwsock.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
int dwsock_init (void);
1313

14-
int dwsock_connect (char *hostname, char *port, char *description, int allow_ipv6, int debug, char *ipaddr_str);
14+
int dwsock_connect (char *hostname, char *port, char *description, int allow_ipv6, int debug, char ipaddr_str[DWSOCK_IPADDR_LEN]);
1515
/* ipaddr_str needs to be at least SOCK_IPADDR_LEN bytes */
1616

1717
char *dwsock_ia_to_text (int Family, void * pAddr, char * pStringBuf, size_t StringBufSize);

src/log.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ void log_write (int chan, decode_aprs_t *A, packet_t pp, alevel_t alevel, retry_
345345
char sstatus[40];
346346
char stelemetry[200];
347347
char scomment[256];
348-
char alevel_text[32];
348+
char alevel_text[40];
349349

350350

351351

0 commit comments

Comments
 (0)