Skip to content

Commit

Permalink
win: change uid_t and gid_t from int to unsigned int
Browse files Browse the repository at this point in the history
Like they are on Linux.
  • Loading branch information
orgads authored and lws-team committed Oct 3, 2024
1 parent 994278e commit 4c3f13e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/libwebsockets.h
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ typedef unsigned long long lws_intptr_t;
#define O_RDONLY _O_RDONLY
#endif

typedef int uid_t;
typedef int gid_t;
typedef unsigned int uid_t;
typedef unsigned int gid_t;
typedef unsigned short sa_family_t;
#if !defined(LWS_HAVE_SUSECONDS_T)
typedef unsigned int useconds_t;
Expand Down

0 comments on commit 4c3f13e

Please sign in to comment.