pertag + vanitygaps: store signed ints rather than unsigned in case negative gap values are used

This commit is contained in:
bakkeby 2023-05-14 22:28:15 +02:00
parent 5fefbfee64
commit eca757eeea

View File

@ -21,7 +21,7 @@ struct Pertag {
#endif // ZOOMSWAP_PATCH #endif // ZOOMSWAP_PATCH
#if PERTAG_VANITYGAPS_PATCH && VANITYGAPS_PATCH #if PERTAG_VANITYGAPS_PATCH && VANITYGAPS_PATCH
int enablegaps[NUMTAGS + 1]; int enablegaps[NUMTAGS + 1];
unsigned int gaps[NUMTAGS + 1]; int gaps[NUMTAGS + 1];
#endif // PERTAG_VANITYGAPS_PATCH | VANITYGAPS_PATCH #endif // PERTAG_VANITYGAPS_PATCH | VANITYGAPS_PATCH
}; };