[Webkit-unassigned] [Bug 148551] New: Minor fixes in reportUnexpectedSyscall
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Aug 27 18:00:26 PDT 2015
https://bugs.webkit.org/show_bug.cgi?id=148551
Bug ID: 148551
Summary: Minor fixes in reportUnexpectedSyscall
Classification: Unclassified
Product: WebKit
Version: Other
Hardware: PC
OS: Linux
Status: NEW
Severity: Minor
Priority: P2
Component: WebKit2
Assignee: webkit-unassigned at lists.webkit.org
Reporter: mcatanzaro at igalia.com
There is an off-by-one in the static assert.
Also, an unsigned long long is passed in, but the parameter is an int. Then it's passed to writeUnsignedInt, which takes an unsigned int. Let's use unsigned int instead. (The value is a syscall number, so it's safe to truncate regardless -- it never be anywhere near as large as an int -- so this is just a matter of style.)
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150828/76991b32/attachment.html>
More information about the webkit-unassigned
mailing list