From fcd0cae9489035a96b272a9e17333d82be4a0f18 Mon Sep 17 00:00:00 2001 From: Zeta <53486764+Apprentice-Alchemist@users.noreply.github.com> Date: Tue, 10 May 2022 09:51:07 +0200 Subject: [PATCH] Update AtomicInt.hx --- std/cpp/_std/haxe/atomic/AtomicInt.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/std/cpp/_std/haxe/atomic/AtomicInt.hx b/std/cpp/_std/haxe/atomic/AtomicInt.hx index 900533d8128..ca01f0f72c9 100644 --- a/std/cpp/_std/haxe/atomic/AtomicInt.hx +++ b/std/cpp/_std/haxe/atomic/AtomicInt.hx @@ -5,7 +5,7 @@ extern #end abstract AtomicInt(cpp.Pointer) { public #if !(scriptable || cppia) inline #end function new(value:Int) { - this = cpp.Pointer.ofArray([value]); + this = cpp.Pointer.ofArray([(value:cpp.AtomicInt)]); } public #if !(scriptable || cppia) inline #end function add(b:Int):Int {