libsec: use intptr to silence 64-bit warning (Michael Teichgräber)
This commit is contained in:
parent
949b59cd4e
commit
350f4d3ede
@ -2238,7 +2238,7 @@ get16(uchar *p)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* ANSI offsetof() */
|
/* ANSI offsetof() */
|
||||||
#define OFFSET(x, s) ((int)(&(((s*)0)->x)))
|
#define OFFSET(x, s) ((intptr)(&(((s*)0)->x)))
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* malloc and return a new Bytes structure capable of
|
* malloc and return a new Bytes structure capable of
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user