[Webkit-unassigned] [Bug 38073] Clean up a few compiler warnings

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Apr 24 09:29:27 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=38073





--- Comment #4 from Darin Adler <darin at apple.com>  2010-04-24 09:29:27 PST ---
(From update of attachment 54208)
> -    unsigned width() const { return m_width; }
> +    unsigned width() const { return static_cast<unsigned>(m_width); }
>      void setWidth(float w) { m_width = w; }

This worries me; not the type cast, but the existing code. Why is it OK to
convert the width into an unsigned?

-- 
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