Use unsigned rather than int.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1628 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
1997-05-02 09:45:22 +00:00
parent 13969f16b3
commit 648007dd53

View File

@@ -58,28 +58,28 @@
struct dns_query{ struct dns_query{
char *domain; char *domain;
int type; unsigned type;
int class; unsigned class;
}; };
struct mx_record{ struct mx_record{
int preference; unsigned preference;
char domain[1]; char domain[1];
}; };
struct srv_record{ struct srv_record{
int priority; unsigned priority;
int weight; unsigned weight;
int port; unsigned port;
char target[1]; char target[1];
}; };
struct resource_record{ struct resource_record{
char *domain; char *domain;
int type; unsigned type;
int class; unsigned class;
int ttl; unsigned ttl;
int size; unsigned size;
union { union {
void *data; void *data;
struct mx_record *mx; struct mx_record *mx;