From 757073a461d6a5a749a4c0194234152d592d627b Mon Sep 17 00:00:00 2001 From: Jfreegman Date: Thu, 8 Aug 2013 04:55:22 -0400 Subject: [PATCH] oops --- prompt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/prompt.c b/prompt.c index 08874a9..b50792f 100644 --- a/prompt.c +++ b/prompt.c @@ -109,7 +109,7 @@ static void execute(ToxWindow *self, char *u_cmd) } dht.port = htons(atoi(port)); - uintKEY_SIZE_BYTES_t resolved_address = resolve_addr(ip); + uint32_t resolved_address = resolve_addr(ip); if (resolved_address == 0) { return; } @@ -123,7 +123,7 @@ static void execute(ToxWindow *self, char *u_cmd) else if (!strncmp(cmd, "add ", strlen("add "))) { uint8_t id_bin[KEY_SIZE_BYTES]; char xx[3]; - uintKEY_SIZE_BYTES_t x; + uint32_t x; char *id = strchr(cmd, ' '); if (id == NULL) { wprintw(self->window, "Invalid syntax.\n");