diff options
Diffstat (limited to 'src/common/error.c')
-rw-r--r-- | src/common/error.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common/error.c b/src/common/error.c index 78cdc86..8f6735b 100644 --- a/src/common/error.c +++ b/src/common/error.c @@ -14,7 +14,7 @@ bc_error_t* -bc_error_new(int type, const char *msg) +bc_error_new(bc_error_type_t type, const char *msg) { bc_error_t *err = bc_malloc(sizeof(bc_error_t)); err->type = type; @@ -24,7 +24,7 @@ bc_error_new(int type, const char *msg) bc_error_t* -bc_error_new_printf(int type, const char *format, ...) +bc_error_new_printf(bc_error_type_t type, const char *format, ...) { va_list ap; va_start(ap, format); @@ -37,7 +37,7 @@ bc_error_new_printf(int type, const char *format, ...) bc_error_t* -bc_error_parser(int type, const char *src, size_t src_len, +bc_error_parser(bc_error_type_t type, const char *src, size_t src_len, size_t current, const char *format, ...) { va_list ap; |