From f212ceffae2d952336a6fdbf56331cdd375b2a8b Mon Sep 17 00:00:00 2001 From: Trevor Norris Date: Mon, 14 Apr 2014 16:18:39 -0700 Subject: [PATCH] include: reorder UV_HANDLE_PRIVATE_FIELDS The fields for UV_HANDLE_PRIVATE_FIELDS in uv-win.h and uv-unix.h are the same, but in different order. Simply swap them so uv_handle_t are the same on both platforms. Signed-off-by: Fedor Indutny --- include/uv-unix.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/uv-unix.h b/include/uv-unix.h index b1509058..40c49894 100644 --- a/include/uv-unix.h +++ b/include/uv-unix.h @@ -218,8 +218,8 @@ typedef struct { uv_buf_t bufsml[4]; \ #define UV_HANDLE_PRIVATE_FIELDS \ - int flags; \ uv_handle_t* next_closing; \ + unsigned int flags; \ #define UV_STREAM_PRIVATE_FIELDS \ uv_connect_t *connect_req; \