libsec: use intptr to silence 64-bit warning (Michael Teichgräber)
This commit is contained in:
parent
949b59cd4e
commit
350f4d3ede
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue