summaryrefslogtreecommitdiff
path: root/testing/toxic/prompt.c
diff options
context:
space:
mode:
Diffstat (limited to 'testing/toxic/prompt.c')
-rw-r--r--testing/toxic/prompt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/toxic/prompt.c b/testing/toxic/prompt.c
index 08874a9a..b50792fe 100644
--- a/testing/toxic/prompt.c
+++ b/testing/toxic/prompt.c
@@ -109,7 +109,7 @@ static void execute(ToxWindow *self, char *u_cmd)
109 } 109 }
110 110
111 dht.port = htons(atoi(port)); 111 dht.port = htons(atoi(port));
112 uintKEY_SIZE_BYTES_t resolved_address = resolve_addr(ip); 112 uint32_t resolved_address = resolve_addr(ip);
113 if (resolved_address == 0) { 113 if (resolved_address == 0) {
114 return; 114 return;
115 } 115 }
@@ -123,7 +123,7 @@ static void execute(ToxWindow *self, char *u_cmd)
123 else if (!strncmp(cmd, "add ", strlen("add "))) { 123 else if (!strncmp(cmd, "add ", strlen("add "))) {
124 uint8_t id_bin[KEY_SIZE_BYTES]; 124 uint8_t id_bin[KEY_SIZE_BYTES];
125 char xx[3]; 125 char xx[3];
126 uintKEY_SIZE_BYTES_t x; 126 uint32_t x;
127 char *id = strchr(cmd, ' '); 127 char *id = strchr(cmd, ' ');
128 if (id == NULL) { 128 if (id == NULL) {
129 wprintw(self->window, "Invalid syntax.\n"); 129 wprintw(self->window, "Invalid syntax.\n");