1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 06:27:45 +00:00

More moving towards using signed types.

I'm still feeling this out, but I am starting to like the general idea.
This commit is contained in:
Andreas Kling 2019-02-25 22:06:55 +01:00
parent beda478821
commit 9624b54703
48 changed files with 234 additions and 250 deletions

View file

@ -88,7 +88,7 @@ struct WSAPI_ServerMessage {
};
Type type { Invalid };
int window_id { -1 };
size_t text_length;
int text_length { 0 };
char text[256];
union {
@ -156,7 +156,7 @@ struct WSAPI_ClientMessage {
};
Type type { Invalid };
int window_id { -1 };
size_t text_length;
int text_length { 0 };
char text[256];
int value { 0 };