diff -r 272c84c7c87e -r 98645c8e7704 src/linetypes/object.cpp --- a/src/linetypes/object.cpp Sun Feb 02 00:58:59 2020 +0200 +++ b/src/linetypes/object.cpp Thu Feb 06 20:33:05 2020 +0200 @@ -2,9 +2,9 @@ #include #include "object.h" -static unsigned int getIdForNewObject() +static std::int32_t getIdForNewObject() { - static unsigned int id = 0; + static std::int32_t id = 0; id += 1; return id; }