mirror of
https://github.com/joel16/VITAlbum.git
synced 2024-11-26 21:10:25 +00:00
app: Clean-up warnings
This commit is contained in:
parent
3b5bfdaace
commit
f22e1046bf
@ -26,7 +26,7 @@ typedef struct {
|
||||
SceOff selected = 0;
|
||||
std::vector<SceIoDirent> entries;
|
||||
std::vector<Tex> textures;
|
||||
int frame_count = 0;
|
||||
unsigned int frame_count = 0;
|
||||
float zoom_factor = 1.0f;
|
||||
} WindowData;
|
||||
|
||||
|
@ -144,7 +144,7 @@ namespace FS {
|
||||
}
|
||||
|
||||
static int GetPrevPath(char path[256]) {
|
||||
if (cfg.cwd.c_str() == "")
|
||||
if (cfg.cwd == "")
|
||||
return -1;
|
||||
|
||||
// Remove upmost directory
|
||||
|
@ -48,7 +48,6 @@ namespace FileBrowser {
|
||||
}
|
||||
|
||||
namespace Tabs {
|
||||
static int device = 0;
|
||||
static const ImVec2 tex_size = ImVec2(22, 22);
|
||||
static const char *devices[] = { "os0:", "pd0:", "sa0:", "tm0:", "ud0:", "ur0:", "ux0:", "vd0:", "vs0:"};
|
||||
|
||||
|
@ -23,7 +23,7 @@ namespace Windows {
|
||||
};
|
||||
|
||||
static void ClearTextures(WindowData &data) {
|
||||
for (int i = 0; i < data.textures.size(); i++)
|
||||
for (unsigned int i = 0; i < data.textures.size(); i++)
|
||||
Textures::Free(data.textures[i]);
|
||||
|
||||
data.textures.clear();
|
||||
@ -67,7 +67,7 @@ namespace Windows {
|
||||
if (data.selected == data.entries.size())
|
||||
return ret;
|
||||
|
||||
for (int i = data.selected + 1; i < data.entries.size(); i++) {
|
||||
for (unsigned int i = data.selected + 1; i < data.entries.size(); i++) {
|
||||
if (!(ret = Windows::HandleScroll(data, i)))
|
||||
continue;
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user