* ddb/db_variables.c (db_set_default_thread, db_get_task_thread, db_arg_variable, fcn): Declare long return type.
--- ddb/db_variables.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ddb/db_variables.c b/ddb/db_variables.c index 54fc06c..3a12e4a 100644 --- a/ddb/db_variables.c +++ b/ddb/db_variables.c @@ -46,9 +46,9 @@ extern db_expr_t db_radix; extern db_expr_t db_max_width; extern db_expr_t db_tab_stop_width; extern db_expr_t db_max_line; -extern int db_set_default_thread(); -extern int db_get_task_thread(); -extern int db_arg_variable(); +extern long db_set_default_thread(); +extern long db_get_task_thread(); +extern long db_arg_variable(); #define DB_NWORK 32 /* number of work variable */ @@ -184,7 +184,7 @@ db_read_write_variable(vp, valuep, rw_flag, ap) int rw_flag; db_var_aux_param_t ap; { - int (*func)() = vp->fcn; + long (*func)() = vp->fcn; struct db_var_aux_param aux_param; if (ap == 0) { -- 1.8.1.4