Mercurial > octave
diff libinterp/corefcn/sysdep.cc @ 27421:edeacebc8800
maint: merge stable to default.
author | Rik <rik@octave.org> |
---|---|
date | Tue, 17 Sep 2019 13:57:40 -0700 |
parents | 1effc78e7cd1 6bbbfba55989 |
children | f90564fb99e0 |
line wrap: on
line diff
--- a/libinterp/corefcn/sysdep.cc Tue Sep 17 13:20:08 2019 -0700 +++ b/libinterp/corefcn/sysdep.cc Tue Sep 17 13:57:40 2019 -0700 @@ -834,7 +834,7 @@ return result; if (type == REG_DWORD) - value = octave_int32 (*data); + value = octave_int32 (*(reinterpret_cast<DWORD *> (data))); else if (type == REG_SZ || type == REG_EXPAND_SZ) value = string_vector (sys::u8_from_wstring (reinterpret_cast<wchar_t *> (data)));