summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorxperia64 <xperiancedapps@gmail.com>2019-03-16 00:19:24 +0100
committerfearlessTobi <thm.frey@gmail.com>2019-03-19 23:53:40 +0100
commitec74a4fd4a2a41cf00d0cd847b0e53b13ad2d28c (patch)
treee2e44f58a5b9200fadfcdf134ddbff6d66e4e242 /src
parentMerge pull request #2258 from lioncash/am (diff)
downloadyuzu-ec74a4fd4a2a41cf00d0cd847b0e53b13ad2d28c.tar
yuzu-ec74a4fd4a2a41cf00d0cd847b0e53b13ad2d28c.tar.gz
yuzu-ec74a4fd4a2a41cf00d0cd847b0e53b13ad2d28c.tar.bz2
yuzu-ec74a4fd4a2a41cf00d0cd847b0e53b13ad2d28c.tar.lz
yuzu-ec74a4fd4a2a41cf00d0cd847b0e53b13ad2d28c.tar.xz
yuzu-ec74a4fd4a2a41cf00d0cd847b0e53b13ad2d28c.tar.zst
yuzu-ec74a4fd4a2a41cf00d0cd847b0e53b13ad2d28c.zip
Diffstat (limited to 'src')
-rw-r--r--src/yuzu_cmd/yuzu.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/yuzu_cmd/yuzu.cpp b/src/yuzu_cmd/yuzu.cpp
index c6c66a787..245f25847 100644
--- a/src/yuzu_cmd/yuzu.cpp
+++ b/src/yuzu_cmd/yuzu.cpp
@@ -114,9 +114,9 @@ int main(int argc, char** argv) {
};
while (optind < argc) {
- char arg = getopt_long(argc, argv, "g:fhvp::", long_options, &option_index);
+ int arg = getopt_long(argc, argv, "g:fhvp::", long_options, &option_index);
if (arg != -1) {
- switch (arg) {
+ switch (static_cast<char>(arg)) {
case 'g':
errno = 0;
gdb_port = strtoul(optarg, &endarg, 0);