Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Ranellucci <aar@cpan.org>2015-11-04 22:48:44 +0300
committerAlessandro Ranellucci <aar@cpan.org>2015-11-04 22:50:32 +0300
commitf8d2c69713a41d6463b889ee94025f3f859b15f6 (patch)
tree43403913ff046f639c4bb8558c4ee3d190b109e6 /xs/xsp/Extruder.xsp
parent7c7982d9f3e5dfed120f610cce1382b2402c5f77 (diff)
Fixed compilation warnings and a potential bug in MotionPlanner, as reported in #3054
Diffstat (limited to 'xs/xsp/Extruder.xsp')
-rw-r--r--xs/xsp/Extruder.xsp4
1 files changed, 2 insertions, 2 deletions
diff --git a/xs/xsp/Extruder.xsp b/xs/xsp/Extruder.xsp
index c244e02e4..aac39c413 100644
--- a/xs/xsp/Extruder.xsp
+++ b/xs/xsp/Extruder.xsp
@@ -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()