fix 'error: ‘uint8’ was not declared in this scope'

This commit is contained in:
Anonymous Maarten 2018-07-13 02:05:00 +02:00
parent 020e66a282
commit 12269003da
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ struct LLLink
};
#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.
#define FORLIST(_link, _list) \