https://bugs.documentfoundation.org/show_bug.cgi?id=131241

--- Comment #3 from Andreas Heinisch <[email protected]> ---
So the problem is, that the value of &HFFE0 lies within the Integer range.
Therefore, it will be treated as a negative value, since the high-order bit
is set. Then the negative value will be converted to a long value, when the
value to the variable is assigned.

Codepointer:
https://opengrok.libreoffice.org/xref/core/basic/source/comp/scanner.cxx?r=7ddedd25#490

Related:
https://bugs.documentfoundation.org/show_bug.cgi?id=130476

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to