Fixed null check for iterating options in argp
Fixed null check for iterating options in argp

--- a/src/util/argp.c
+++ b/src/util/argp.c
@@ -21,7 +21,7 @@
 
 				int c = 0;
 
-				while(op->arg[0] != 0){
+				while(*(uint8_t*)op != 0){
 
 					c = 0;
 
@@ -57,7 +57,7 @@
 
 				// Invalid Option
 				else {
-					return -1;
+					return ARGP_ERR_UNKNOWN;
 				}
 
 			} else {

--- a/src/util/argp.h
+++ b/src/util/argp.h
@@ -1,10 +1,11 @@
 
 #include <stdio.h>
+#include <stdint.h>
 #include <stdbool.h>
 
 #define OPTION_ARG_OPTIONAL 0
 
-#define ARGP_ERR_UNKNOWN 0
+#define ARGP_ERR_UNKNOWN -1
 
 struct argp_option {