mirror of
https://github.com/aap/librw.git
synced 2024-11-25 05:05:42 +00:00
fix 'error: ‘uint8’ was not declared in this scope'
This commit is contained in:
parent
020e66a282
commit
12269003da
@ -80,7 +80,7 @@ struct LLLink
|
|||||||
};
|
};
|
||||||
|
|
||||||
#define LLLinkGetData(linkvar,type,entry) \
|
#define LLLinkGetData(linkvar,type,entry) \
|
||||||
((type*)(((uint8*)(linkvar))-offsetof(type,entry)))
|
((type*)(((rw::uint8*)(linkvar))-offsetof(type,entry)))
|
||||||
|
|
||||||
// Have to be careful since the link might be deleted.
|
// Have to be careful since the link might be deleted.
|
||||||
#define FORLIST(_link, _list) \
|
#define FORLIST(_link, _list) \
|
||||||
|
Loading…
Reference in New Issue
Block a user