Fixed compilation warnings and a potential bug in MotionPlanner, as reported in #3054

This commit is contained in:
Alessandro Ranellucci 2015-11-04 20:48:44 +01:00
parent 7c7982d9f3
commit f8d2c69713
7 changed files with 12 additions and 10 deletions

View file

@ -6,7 +6,7 @@
%}
%name{Slic3r::Extruder} class Extruder {
Extruder(int id, GCodeConfig *config);
Extruder(unsigned int id, GCodeConfig *config);
~Extruder();
void reset();
double extrude(double dE);
@ -16,7 +16,7 @@
double extruded_volume();
double used_filament();
int id()
unsigned int id()
%code%{ RETVAL = THIS->id; %};
double E()