mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-10-09 23:53:28 -04:00
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:
parent
6aa8d80ba2
commit
174a2330e9
2 changed files with 1 additions and 3 deletions
|
|
@ -328,7 +328,7 @@ int TTSCarbon::convertAiffToWav(const char* aiff, const char* wav)
|
||||||
if(!buf) /* error out if malloc() failed */
|
if(!buf) /* error out if malloc() failed */
|
||||||
return -1;
|
return -1;
|
||||||
in = fopen(aiff, "rb");
|
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");
|
printf("could not read file: not enought bytes read\n");
|
||||||
fclose(in);
|
fclose(in);
|
||||||
free(buf);
|
free(buf);
|
||||||
|
|
|
||||||
|
|
@ -119,8 +119,6 @@ private:
|
||||||
int baseParam;
|
int baseParam;
|
||||||
ParseTreeNode* node;
|
ParseTreeNode* node;
|
||||||
SkinDocument* doc;
|
SkinDocument* doc;
|
||||||
|
|
||||||
bool mirrored;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // RBVIEWPORT_H
|
#endif // RBVIEWPORT_H
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue