summaryrefslogtreecommitdiffstats
path: root/src/task.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/task.h')
-rw-r--r--src/task.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/task.h b/src/task.h
index d569176..fbf2c63 100644
--- a/src/task.h
+++ b/src/task.h
@@ -42,14 +42,14 @@ typedef enum _fastd_task_type {
typedef struct _fastd_task_send {
fastd_task_type type;
fastd_peer *peer;
- uint8_t packet_type;
+ fastd_packet_type packet_type;
fastd_buffer buffer;
} fastd_task_send;
typedef struct _fastd_task_handle_recv {
fastd_task_type type;
fastd_peer *peer;
- uint8_t packet_type;
+ fastd_packet_type packet_type;
fastd_buffer buffer;
} fastd_task_handle_recv;