From: Eric Biggers <ebiggers@xxxxxxxxxx> This showed up when building for Windows. Signed-off-by: Eric Biggers <ebiggers@xxxxxxxxxx> --- lib/ext2fs/mmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ext2fs/mmp.c b/lib/ext2fs/mmp.c index 7970aac27..9491fbd5c 100644 --- a/lib/ext2fs/mmp.c +++ b/lib/ext2fs/mmp.c @@ -356,7 +356,7 @@ clean_seq: #ifdef HAVE_GETHOSTNAME gethostname((char *) mmp_s->mmp_nodename, sizeof(mmp_s->mmp_nodename)); #else - strcpy(mmp_s->mmp_nodename, "unknown host"); + strcpy((char *) mmp_s->mmp_nodename, "unknown host"); #endif strncpy((char *) mmp_s->mmp_bdevname, fs->device_name, sizeof(mmp_s->mmp_bdevname)); -- 2.39.0