Fix build warnings.

This commit is contained in:
Ms2ger 2015-07-04 14:33:18 +02:00
parent 0298c92670
commit d4888dbd4d
7 changed files with 8 additions and 10 deletions

View file

@ -3,13 +3,12 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#![feature(arc_weak)]
#![feature(box_raw)]
#![cfg_attr(any(target_os="linux", target_os = "android"), feature(box_raw))]
#![feature(box_syntax)]
#![feature(custom_attribute)]
#![feature(custom_derive)]
#![feature(float_consts)]
#![feature(hashmap_hasher)]
#![feature(heap_api)]
#![cfg_attr(any(target_os="linux", target_os = "android"), feature(heap_api))]
#![feature(iter_cmp)]
#![feature(plugin)]
#![feature(str_char)]

View file

@ -590,7 +590,7 @@ impl<'a> PaintContext<'a> {
bounds.origin.y + radii.top_right),
radii.top_right,
1.5f32 * f32::consts::FRAC_PI_2,
f32::consts::PI_2,
2.0f32 * f32::consts::PI,
false); // 3
path_builder.line_to(Point2D::new(bounds.max_x(), bounds.max_y() - radii.bottom_right)); // 4
path_builder.arc(Point2D::new(bounds.max_x() - radii.bottom_right,