Use enum flags for flags passed to openp
[deliverable/binutils-gdb.git] / gdb / cli / cli-cmds.c
index 18d1d4b38353bf18a893476f22c2e1ca7c3ebfab..c3962e939ee18548210768866e4623cff28ae687 100644 (file)
@@ -496,7 +496,7 @@ gdb::optional<open_script>
 find_and_open_script (const char *script_file, int search_path)
 {
   int fd;
-  int search_flags = OPF_TRY_CWD_FIRST | OPF_RETURN_REALPATH;
+  openp_flags search_flags = OPF_TRY_CWD_FIRST | OPF_RETURN_REALPATH;
   gdb::optional<open_script> opened;
 
   gdb::unique_xmalloc_ptr<char> file (tilde_expand (script_file));
This page took 0.026014 seconds and 4 git commands to generate.