aboutsummaryrefslogtreecommitdiffstats
path: root/gb.h
diff options
context:
space:
mode:
authorGravatar Tyler Erickson 2018-05-09 19:39:27 -0700
committerGravatar Tyler Erickson 2018-05-09 19:39:27 -0700
commit9c99ab9e8e9e30ce6da4c65c5a1411f5310108ca (patch)
tree3a13f8d6cda797ccc37721399ee90deab8008fd7 /gb.h
parentgb_memcopy now returns the correct dest (diff)
Fixed indentation
Diffstat (limited to 'gb.h')
-rw-r--r--gb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gb.h b/gb.h
index 1f8025c..25cc1d9 100644
--- a/gb.h
+++ b/gb.h
@@ -3673,7 +3673,7 @@ gb_inline void *gb_memcopy(void *dest, void const *source, isize n) {
return NULL;
}
- void *dest_copy = dest;
+ void *dest_copy = dest;
__asm__ __volatile__("rep movsb" : "+D"(dest_copy), "+S"(source), "+c"(n) : : "memory");
#else
u8 *d = cast(u8 *)dest;