Kaynağa Gözat

change Type to `int16_t`

blueloveTH 2 yıl önce
ebeveyn
işleme
e7658d073b
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      include/pocketpy/common.h

+ 1 - 1
include/pocketpy/common.h

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