From d9c1af04f7f30a4af7067b645b123b0bbc3da549 Mon Sep 17 00:00:00 2001 From: Yury Kurlykov Date: Mon, 16 Dec 2019 12:03:46 +1000 Subject: [PATCH] Fix duplicate error codes --- inc/YeltsinDB/error_code.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/inc/YeltsinDB/error_code.h b/inc/YeltsinDB/error_code.h index 10ee172..4c22e39 100644 --- a/inc/YeltsinDB/error_code.h +++ b/inc/YeltsinDB/error_code.h @@ -61,15 +61,15 @@ /** * @brief An attempt to read/write 0 bytes has occurred. */ -#define YDB_ERR_ZERO_SIZE_RW (-11) +#define YDB_ERR_ZERO_SIZE_RW (-12) /** * @brief No more pages left in the file. */ -#define YDB_ERR_NO_MORE_PAGES (-12) +#define YDB_ERR_NO_MORE_PAGES (-13) /** * @brief The addresses of pages are the same. */ -#define YDB_ERR_SAME_PAGE_ADDRESS (-13) +#define YDB_ERR_SAME_PAGE_ADDRESS (-14) /** * @brief An unknown error has occurred. */