aboutsummaryrefslogtreecommitdiff
path: root/src/dxvk.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dxvk.c')
-rw-r--r--src/dxvk.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dxvk.c b/src/dxvk.c
index d64efa5..65af7c5 100644
--- a/src/dxvk.c
+++ b/src/dxvk.c
@@ -12,7 +12,7 @@
#include "tar.h"
#include "config.h"
-const static struct Command dxvk_commands[] = {
+static const struct Command dxvk_commands[] = {
{ .name = "download", .func = dxvk_download, .description = "download and install a dxvk version" },
{ .name = "remove", .func = dxvk_remove, .description = "remove a dxvk version" },
{ .name = "list", .func = dxvk_list, .description = "list available dxvk versions" },
@@ -36,7 +36,7 @@ COMMAND(dxvk, download)
char* choice = argv[1];
- for (int i = 0; i < json_object_array_length(runner); ++i)
+ for (size_t i = 0; i < json_object_array_length(runner); ++i)
{
value = json_object_array_get_idx(runner, i);
json_object_object_get_ex(value, "tag_name", &temp);
@@ -221,4 +221,4 @@ COMMAND(dxvk, installed)
return 0;
}
-COMMAND_HELP(dxvk, " dxvk"); \ No newline at end of file
+COMMAND_HELP(dxvk, " dxvk")