Skip to content

Commit

Permalink
Use const char* in uvwasi_preopen_s
Browse files Browse the repository at this point in the history
This allows C strings to be assigned.
  • Loading branch information
sbc100 authored and cjihrig committed May 17, 2020
1 parent ae928dd commit ef04e8e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/uvwasi.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ typedef struct uvwasi_s {
} uvwasi_t;

typedef struct uvwasi_preopen_s {
char* mapped_path;
char* real_path;
const char* mapped_path;
const char* real_path;
} uvwasi_preopen_t;

typedef struct uvwasi_options_s {
Expand Down

0 comments on commit ef04e8e

Please sign in to comment.