[Webkit-unassigned] [Bug 50982] New: ViewportArguments.h uses an enum to intialize a bool
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Dec 13 15:02:34 PST 2010
https://bugs.webkit.org/show_bug.cgi?id=50982
Summary: ViewportArguments.h uses an enum to intialize a bool
Product: WebKit
Version: 528+ (Nightly build)
Platform: PC
OS/Version: Mac OS X 10.5
Status: NEW
Severity: Normal
Priority: P2
Component: HTML DOM
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: evan at chromium.org
CC: kenneth at webkit.org
r69316 changed userScalable from a float to a bool.
However, userScalable is initialized from an enum in the constructor, and the enum value is ValueAuto (-1). This produces a compiler warning and probably isn't doing what we want.
third_party/WebKit/WebCore/dom/ViewportArguments.h(78) : warning C4305: 'initializing' : truncation from '' to 'bool'
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list