Skip to content

Commit c653fd7

Browse files
committed
update whence constants
Refs: WebAssembly/WASI#106
1 parent 7579e29 commit c653fd7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

include/wasi_types.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -316,8 +316,8 @@ typedef struct uvwasi_event_s {
316316
} uvwasi_event_t;
317317

318318
typedef uint8_t uvwasi_whence_t;
319-
#define UVWASI_WHENCE_CUR 0
320-
#define UVWASI_WHENCE_END 1
321-
#define UVWASI_WHENCE_SET 2
319+
#define UVWASI_WHENCE_SET 0
320+
#define UVWASI_WHENCE_CUR 1
321+
#define UVWASI_WHENCE_END 2
322322

323323
#endif /* __UVWASI_WASI_TYPES_H__ */

0 commit comments

Comments
 (0)