chiark
/
gitweb
/
~ianmdlvl
/
adns.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
internal.h: Use `unsigned' for nextid
[adns.git]
/
src
/
internal.h
diff --git
a/src/internal.h
b/src/internal.h
index 51e9ea205d46c9edd3b1513d118a84fe3bf6ebcb..923d43d1381d8e9ef9b703bd8f9f35208fb65de4 100644
(file)
--- a/
src/internal.h
+++ b/
src/internal.h
@@
-371,7
+371,8
@@
struct adns__state {
int configerrno;
struct query_queue udpw, tcpw, childw, output, intdone;
adns_query forallnext;
int configerrno;
struct query_queue udpw, tcpw, childw, output, intdone;
adns_query forallnext;
- int nextid, tcpsocket;
+ unsigned nextid;
+ int tcpsocket;
struct udpsocket { int af; int fd; } udpsockets[MAXUDP];
int nudpsockets;
vbuf tcpsend, tcprecv;
struct udpsocket { int af; int fd; } udpsockets[MAXUDP];
int nudpsockets;
vbuf tcpsend, tcprecv;