Skip to content

Commit

Permalink
Fix problem in <hybrid/__string.h>
Browse files Browse the repository at this point in the history
  • Loading branch information
GrieferAtWork committed Mar 15, 2024
1 parent e725c86 commit 5d949db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kos/include/hybrid/__string.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ __DECL_END
#define __hybrid_bzero(dst, num_bytes) __libc_bzero(dst, num_bytes)
#define __hybrid_bzerow(dst, num_words) __libc_bzerow(dst, num_words)
#define __hybrid_bzerol(dst, num_dwords) __libc_bzerol(dst, num_dwords)
#include "typecore.h"
#ifdef __UINT64_TYPE__
#define __hybrid_memcpyq(dst, src, num_qwords) (void)__libc_memcpyq(dst, src, num_qwords)
#define __hybrid_bzeroq(dst, num_qwords) __libc_bzeroq(dst, num_bytes)
Expand Down Expand Up @@ -81,7 +82,6 @@ __DECL_END
#ifdef __x86_64__
__DECL_BEGIN
extern void __movsq(unsigned long long *, unsigned long long const *, unsigned __int64);
#undef memcpyq
#define __hybrid_memcpyq(dst, src, num_qwords) \
__movsq((unsigned long long *)(void *)(dst), \
(unsigned long long const *)(void const *)(src), \
Expand Down

0 comments on commit 5d949db

Please sign in to comment.