Skip to content

Commit 0472ddc

Browse files
Change whence_t constant values to match pre-existing agreed-upon values. (#307)
1 parent 1a85051 commit 0472ddc

File tree

1 file changed

+3
-3
lines changed
  • core/iwasm/libraries/libc-wasi/sandboxed-system-primitives/include

1 file changed

+3
-3
lines changed

core/iwasm/libraries/libc-wasi/sandboxed-system-primitives/include/wasmtime_ssp.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -275,9 +275,9 @@ typedef uint64_t __wasi_timestamp_t;
275275
typedef uint64_t __wasi_userdata_t;
276276

277277
typedef uint8_t __wasi_whence_t;
278-
#define __WASI_WHENCE_CUR (0)
279-
#define __WASI_WHENCE_END (1)
280-
#define __WASI_WHENCE_SET (2)
278+
#define __WASI_WHENCE_SET (0)
279+
#define __WASI_WHENCE_CUR (1)
280+
#define __WASI_WHENCE_END (2)
281281

282282
typedef uint8_t __wasi_preopentype_t;
283283
#define __WASI_PREOPENTYPE_DIR (0)

0 commit comments

Comments
 (0)