diff options
author | nicm <nicm> | 2017-01-29 22:10:55 +0000 |
---|---|---|
committer | nicm <nicm> | 2017-01-29 22:10:55 +0000 |
commit | b6099f31ead647749574c36b34619db940587fc7 (patch) | |
tree | 225c66a05f2437ebdf933dfb6c830e2f14df6c47 /cmd-source-file.c | |
parent | 54309cc25d4bf9e144342179d815e459c88d6153 (diff) |
Add -n to break-pane.
Diffstat (limited to 'cmd-source-file.c')
-rw-r--r-- | cmd-source-file.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd-source-file.c b/cmd-source-file.c index 4ca47193..dce72c40 100644 --- a/cmd-source-file.c +++ b/cmd-source-file.c @@ -53,7 +53,7 @@ cmd_source_file_exec(struct cmd *self, struct cmdq_item *item) struct cmdq_item *new_item; enum cmd_retval retval; glob_t g; - int i; + u_int i; quiet = args_has(args, 'q'); if (glob(args->argv[0], 0, NULL, &g) != 0) { @@ -64,7 +64,7 @@ cmd_source_file_exec(struct cmd *self, struct cmdq_item *item) } retval = CMD_RETURN_NORMAL; - for (i = 0; i < g.gl_pathc; i++) { + for (i = 0; i < (u_int)g.gl_pathc; i++) { if (load_cfg(g.gl_pathv[i], c, item, quiet) != 0) retval = CMD_RETURN_ERROR; } |