diff options
Diffstat (limited to 'tools/ioemu/vl.h')
-rw-r--r-- | tools/ioemu/vl.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/ioemu/vl.h b/tools/ioemu/vl.h index 7b4cff58a9..b087e20c00 100644 --- a/tools/ioemu/vl.h +++ b/tools/ioemu/vl.h @@ -103,8 +103,8 @@ static inline char *realpath(const char *path, char *resolved_path) #endif /* cutils.c */ -void pstrcpy(char *buf, int buf_size, const char *str); -char *pstrcat(char *buf, int buf_size, const char *s); +void pstrcpy(char *buf, size_t buf_size, const char *str); +char *pstrcat(char *buf, size_t buf_size, const char *s); int strstart(const char *str, const char *val, const char **ptr); int stristart(const char *str, const char *val, const char **ptr); |