rbutilqt/themeeditor: Fix compiler warnings

- match sign in integer comparison
- remove unused RBViewport member

Co-authored-by: ChatGPT (GPT-5.3 Mini) <chatgpt@openai.com>
Change-Id: I9a59d701593a4290523bf4b837ab0794bea2ebaa
This commit is contained in:
Vencislav Atanasov 2026-06-29 22:14:38 +03:00
parent 6aa8d80ba2
commit 174a2330e9
2 changed files with 1 additions and 3 deletions

View file

@ -328,7 +328,7 @@ int TTSCarbon::convertAiffToWav(const char* aiff, const char* wav)
if(!buf) /* error out if malloc() failed */
return -1;
in = fopen(aiff, "rb");
if(fread(buf, 1, filestat.st_size, in) < filestat.st_size) {
if(fread(buf, 1, filestat.st_size, in) < (size_t)filestat.st_size) {
printf("could not read file: not enought bytes read\n");
fclose(in);
free(buf);

View file

@ -119,8 +119,6 @@ private:
int baseParam;
ParseTreeNode* node;
SkinDocument* doc;
bool mirrored;
};
#endif // RBVIEWPORT_H