From e043226a6fae804c97c825288fbb20d55dda171a Mon Sep 17 00:00:00 2001 From: LemonBoy Date: Fri, 6 Jan 2017 20:44:46 +0100 Subject: [PATCH] Turn the SECURITY_ enum into a uint. It's always being used in bitwise operations anyway and the initializers for it were integers. --- src/core/sys/windows/winerror.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/sys/windows/winerror.d b/src/core/sys/windows/winerror.d index 1f9a5e5af3..71a2f98dac 100644 --- a/src/core/sys/windows/winerror.d +++ b/src/core/sys/windows/winerror.d @@ -2226,7 +2226,7 @@ enum : HRESULT { } -enum : bool { +enum : uint { SEVERITY_SUCCESS = 0, SEVERITY_ERROR = 1 }