summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-01-01 11:58:32 +0000
committermidipix <writeonce@midipix.org>2024-01-22 03:49:50 +0000
commit1c4305336c55db9aef94971b7338f1446ecf9806 (patch)
treef38c7da5f970c8e88db7e4c0eed1fbe3699ee67d
parent2f63499d81f9284a18efef16c531850d8e07aed3 (diff)
downloadslibtool-1c4305336c55db9aef94971b7338f1446ecf9806.tar.bz2
slibtool-1c4305336c55db9aef94971b7338f1446ecf9806.tar.xz
driver: slbt_get_driver_ctx(): fix function signature.
-rw-r--r--include/slibtool/slibtool.h2
-rw-r--r--src/driver/slbt_driver_ctx.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/include/slibtool/slibtool.h b/include/slibtool/slibtool.h
index ca32efe..3c436a4 100644
--- a/include/slibtool/slibtool.h
+++ b/include/slibtool/slibtool.h
@@ -281,7 +281,7 @@ slbt_api int slbt_map_input (const struct slbt_driver_ctx *,
slbt_api int slbt_unmap_input (struct slbt_input *);
/* driver api */
-slbt_api int slbt_get_driver_ctx (char ** argv, char ** envp, uint32_t flags,
+slbt_api int slbt_get_driver_ctx (char ** argv, char ** envp, uint64_t flags,
const struct slbt_fd_ctx *,
struct slbt_driver_ctx **);
diff --git a/src/driver/slbt_driver_ctx.c b/src/driver/slbt_driver_ctx.c
index e4f18eb..652626b 100644
--- a/src/driver/slbt_driver_ctx.c
+++ b/src/driver/slbt_driver_ctx.c
@@ -156,7 +156,7 @@ static void slbt_output_raw_vector(int fderr, char ** argv, char ** envp, bool f
slbt_dprintf(fderr,"%s\n\n",fcolor ? aclr_reset : "");
}
-static uint32_t slbt_argv_flags(uint32_t flags)
+static uint64_t slbt_argv_flags(uint64_t flags)
{
uint32_t ret = 0;
@@ -288,7 +288,7 @@ static int slbt_get_driver_ctx_fail(
static int slbt_split_argv(
char ** argv,
- uint32_t flags,
+ uint64_t flags,
struct slbt_split_vector * sargv,
struct slbt_obj_list ** aobjlistv,
int fderr,
@@ -1414,7 +1414,7 @@ static int slbt_driver_fail_incompatible_args(
int slbt_get_driver_ctx(
char ** argv,
char ** envp,
- uint32_t flags,
+ uint64_t flags,
const struct slbt_fd_ctx * fdctx,
struct slbt_driver_ctx ** pctx)
{