Skip to content

Commit

Permalink
Compile warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
wb2osz committed Mar 23, 2022
1 parent 18c65f4 commit 722fefb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/dwsock.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

int dwsock_init (void);

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

char *dwsock_ia_to_text (int Family, void * pAddr, char * pStringBuf, size_t StringBufSize);
Expand Down
2 changes: 1 addition & 1 deletion src/log.c
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ void log_write (int chan, decode_aprs_t *A, packet_t pp, alevel_t alevel, retry_
char sstatus[40];
char stelemetry[200];
char scomment[256];
char alevel_text[32];
char alevel_text[40];



Expand Down

0 comments on commit 722fefb

Please sign in to comment.