X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2Fmath_macroarg.h;h=d7d763d878a1e74eb949921b80b8e20c2ed93afc;hb=3e93baac3cd18e27db3eb2a1fcaf90b25e0918a6;hp=434c3fd8dbeddb00007b5c74dc3a08e37f0955e3;hpb=b447408de232872fef1537fca542abc23702d572;p=lyx.git diff --git a/src/mathed/math_macroarg.h b/src/mathed/math_macroarg.h index 434c3fd8db..d7d763d878 100644 --- a/src/mathed/math_macroarg.h +++ b/src/mathed/math_macroarg.h @@ -20,7 +20,7 @@ class MathMacroArgument : public MathDimInset { public: /// - explicit MathMacroArgument(int); + explicit MathMacroArgument(std::size_t); /// std::auto_ptr clone() const; /// @@ -28,7 +28,7 @@ public: /// void draw(PainterInfo &, int x, int y) const; /// - int number() const { return number_; } + std::size_t number() const { return number_; } /// InsetBase::Code lyxCode() const { return MATHMACROARG_CODE; } @@ -39,7 +39,7 @@ public: private: /// A number between 1 and 9 - int number_; + std::size_t number_; /// char str_[3]; };