blueloveTH 2 роки тому
батько
коміт
e7658d073b
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      include/pocketpy/common.h

+ 1 - 1
include/pocketpy/common.h

@@ -97,7 +97,7 @@ struct NoReturn { };
 struct Discarded { };
 struct Discarded { };
 
 
 struct Type {
 struct Type {
-	int index;
+	int16_t index;
 	constexpr Type(): index(-1) {}
 	constexpr Type(): index(-1) {}
 	explicit constexpr Type(int index): index(index) {}
 	explicit constexpr Type(int index): index(index) {}
 	bool operator==(Type other) const { return this->index == other.index; }
 	bool operator==(Type other) const { return this->index == other.index; }