tools

various tools
git clone git://deadbeef.fr/tools.git
Log | Files | Refs | README | LICENSE

commit 27878b67282a944f15a9270d23621ff09b44839a
parent 1a51df46e2abe4ebe3ffd5ae5a1cb0b559369e97
Author: Morel BĂ©renger <berengermorel76@gmail.com>
Date:   Sat,  2 Jan 2021 21:35:34 +0100

lmerge: fix compilation error (wonder when it was added...)

Diffstat:
Mlmerge/src/lmerge.cpp | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lmerge/src/lmerge.cpp b/lmerge/src/lmerge.cpp @@ -119,11 +119,11 @@ int main( int argc, char **argv ) char **arg = &argv[1]; assert( argc > 0 ); for( int iarg = 1; iarg != argc; ++iarg, ++arg ) { - auto error = parse_cmd_opt( arg, b_opts, e_opts ); + auto error = parse_cmd_opt( *arg, b_opts, e_opts ); switch( error ) { case MAX_COUNT: - arg_warning( arg, error ); + arg_warning( *arg, error ); break; case NONE: case IGNORED: @@ -134,7 +134,7 @@ int main( int argc, char **argv ) case BAD_ARGS: case BAD_SETTER: print_help( argv[0], stderr, b_opts, e_opts ); - arg_error( arg, error ); + arg_error( *arg, error ); return EXIT_FAILURE; } }