Skip to content

Commit 20dd361

Browse files
committed
Build failed with X86 model on Windows
1 parent a539532 commit 20dd361

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
libdredis.a
22
dub.selections.json
3+
dredis.lib
4+
.dub/*

source/redis/redis.d

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ import std.string;
1111
import std.typetuple;
1212
import std.exception;
1313

14+
import core.stdc.stdint;
15+
1416
public import redis;
1517
import std.socket;
1618
public class Redis
@@ -228,7 +230,7 @@ public class Redis
228230
}
229231
}
230232

231-
int error;
233+
int32_t error;
232234
conns[addr].getOption(SocketOptionLevel.SOCKET, SocketOption.ERROR, error);
233235
if (error != 0)
234236
{

0 commit comments

Comments
 (0)