Skip to content

Commit

Permalink
Fix htole16 and htole32 on Windows
Browse files Browse the repository at this point in the history
Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>
  • Loading branch information
Alan Jowett committed May 25, 2024
1 parent 7ff3006 commit c40f1c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vm/compat/windows/endian.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@

#include <Winsock2.h>

#define htole16(value) (value)
#define htole16(value) (uint16_t)(value)

#define htole32(value) (value)
#define htole32(value) (uint32_t)(value)

#define htole64(value) (value)

Expand Down

0 comments on commit c40f1c1

Please sign in to comment.