From 9e45f2da9fa975dbe776155e4ad5c9869389c006 Mon Sep 17 00:00:00 2001 From: Asher Baker Date: Thu, 26 Apr 2012 16:58:18 +0100 Subject: [PATCH] Fixed client serials not being unique on Windows (bug 5285, r=psychonic). --- core/PlayerManager.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/PlayerManager.h b/core/PlayerManager.h index ba90352d..74f24464 100644 --- a/core/PlayerManager.h +++ b/core/PlayerManager.h @@ -56,7 +56,7 @@ union serial_t uint32_t value; struct { - uint8_t index; + uint32_t index : 8; uint32_t serial : 24; } bits; };