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:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user