GLK: Silence few compiler warnings

This commit is contained in:
Paweł Kołodziejski 2022-05-29 12:04:21 +02:00
parent e9bb89b5d9
commit eeab444d57
No known key found for this signature in database
GPG Key ID: 0BDADC9E74440FF7
2 changed files with 7 additions and 7 deletions

View File

@ -29,12 +29,12 @@ namespace Scott {
/* Sizes of some of the arrays in the snap structure */
const int SNAPSHOT_RAM_PAGES = 16;
const int SNAPSHOT_SLT_PAGES = 256;
const int SNAPSHOT_ZXATASP_PAGES = 32;
const int SNAPSHOT_ZXCF_PAGES = 64;
const int SNAPSHOT_DOCK_EXROM_PAGES = 8;
const int SNAPSHOT_JOYSTICKS = 7;
const int SNAPSHOT_DIVIDE_PAGES = 4;
//const int SNAPSHOT_SLT_PAGES = 256;
//const int SNAPSHOT_ZXATASP_PAGES = 32;
//const int SNAPSHOT_ZXCF_PAGES = 64;
//const int SNAPSHOT_DOCK_EXROM_PAGES = 8;
//const int SNAPSHOT_JOYSTICKS = 7;
//const int SNAPSHOT_DIVIDE_PAGES = 4;
void *libspectrumReallocN(void *ptr, size_t nmemb, size_t size) {
if (nmemb > SIZE_MAX / size)

View File

@ -135,7 +135,7 @@ private:
Globals _globals;
char _nounText[16];
int _options = 0; ///< Option flags set
int _width = 0; ///< Terminal width
//int _width = 0; ///< Terminal width
int _topHeight = 0; ///< Height of top window
int _topWidth = 0;