aboutsummaryrefslogtreecommitdiff
path: root/src/Utility/Utility.c
diff options
context:
space:
mode:
authorfrosty <gabriel@bwaaa.monster>2026-03-05 04:50:32 +0000
committerfrosty <gabriel@bwaaa.monster>2026-03-05 04:50:32 +0000
commit24cec7a35072ac50e1fe902a925e69330866dbca (patch)
treef60bb7c38b0b952e074f9b8f8d1cef758d7f8ec8 /src/Utility/Utility.c
parent5ed5a6ecc749e8b557ea62f04a444e203f4e48f6 (diff)
downloadomnisearch-24cec7a35072ac50e1fe902a925e69330866dbca.tar.gz
made formatting more consistentHEADmaster
Diffstat (limited to 'src/Utility/Utility.c')
-rw-r--r--src/Utility/Utility.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Utility/Utility.c b/src/Utility/Utility.c
index 8e5af92..07fa1da 100644
--- a/src/Utility/Utility.c
+++ b/src/Utility/Utility.c
@@ -1,8 +1,8 @@
#include "Utility.h"
int hex_to_int(char c) {
- if (c >= '0' && c <= '9') return c - '0';
- if (c >= 'a' && c <= 'f') return c - 'a' + 10;
- if (c >= 'A' && c <= 'F') return c - 'A' + 10;
- return -1;
+ if (c >= '0' && c <= '9') return c - '0';
+ if (c >= 'a' && c <= 'f') return c - 'a' + 10;
+ if (c >= 'A' && c <= 'F') return c - 'A' + 10;
+ return -1;
}