Try to avoid clobbering SysLink GWLP_USERDATA

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6949 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
anders_k 2017-11-05 18:36:33 +00:00
parent dda1998421
commit bcef923727
6 changed files with 18 additions and 6 deletions

View file

@ -149,6 +149,7 @@ void page_writer::write(const page *data)
void ctlcolors_writer::write(const ctlcolors *data, const writer_target_info&ti)
{
assert(CC_FLAGSMASK >> CC_FLAGSSHIFTFORZERO == 0);
assert(sizeof(int) == 4 && sizeof(ctlcolors64) > sizeof(ctlcolors32));
const ctlcolors *p = data;
m_sink->write_int(p->text);