diff options
| author | Jan Sucan <jan@jansucan.com> | 2024-04-27 15:58:59 +0200 |
|---|---|---|
| committer | Ján Sučan <jan@jansucan.com> | 2024-04-27 16:16:36 +0200 |
| commit | 4387433f3bc125ed8dd08bd974efd8f00fcb5949 (patch) | |
| tree | 6a5fe468b5a76c469d3fc0d0483f37a7ba745a97 /src/options.cpp | |
| parent | 6a4d6d3f5fb59fc6dd05a1b478a29dc5ae1344fa (diff) | |
Fix issues reported by cppcheck
Diffstat (limited to 'src/options.cpp')
| -rw-r--r-- | src/options.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/options.cpp b/src/options.cpp index 545d11a..9fc89cd 100644 --- a/src/options.cpp +++ b/src/options.cpp @@ -181,8 +181,8 @@ OptionParser::parse_common(int *const argc, char ***const argv, Options &opts) *argv += 1; int ch; - char *arg_sector_size = NULL; - char *arg_buffer_size = NULL; + const char *arg_sector_size = NULL; + const char *arg_buffer_size = NULL; while ((ch = getopt(*argc, *argv, ":b:s:")) != -1) { switch (ch) { |
