diff --git a/lib/std/sysatomics.nim b/lib/std/sysatomics.nim index 46a2a79cb..b7ccb4092 100644 --- a/lib/std/sysatomics.nim +++ b/lib/std/sysatomics.nim @@ -190,12 +190,12 @@ elif someVcc: proc interlockedCompareExchange64(p: pointer; exchange, comparand: int64): int64 {.importcpp: "_InterlockedCompareExchange64(static_cast(#), #, #)", header: "".} proc interlockedCompareExchange32(p: pointer; exchange, comparand: int32): int32 - {.importcpp: "_InterlockedCompareExchange(static_cast(#), #, #)", header: "".} + {.importcpp: "_InterlockedCompareExchange(static_cast(#), #, #)", header: "".} proc interlockedCompareExchange8(p: pointer; exchange, comparand: byte): byte {.importcpp: "_InterlockedCompareExchange8(static_cast(#), #, #)", header: "".} proc interlockedExchange8(location: pointer; desired: int8): int8 {.importcpp: "_InterlockedExchange8(static_cast(#), #)", header: "".} proc interlockedExchange16(location: pointer; desired: int16): int16 {.importcpp: "_InterlockedExchange16(static_cast(#), #)", header: "".} - proc interlockedExchange32(location: pointer; desired: int32): int32 {.importcpp: "_InterlockedExchange(static_cast(#), #)", header: "".} + proc interlockedExchange32(location: pointer; desired: int32): int32 {.importcpp: "_InterlockedExchange(static_cast(#), #)", header: "".} proc interlockedExchange64(location: pointer; desired: int64): int64 {.importcpp: "_InterlockedExchange64(static_cast(#), #)", header: "".} else: proc interlockedCompareExchange64(p: pointer; exchange, comparand: int64): int64