From 83ec07716d30732e050c0b6b96ecf5b462045e21 Mon Sep 17 00:00:00 2001 From: sf-mensch Date: Fri, 4 Oct 2024 18:42:50 +0000 Subject: [PATCH] portability fix for last commits --- libcob/common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libcob/common.c b/libcob/common.c index 82876214..00c5d9a4 100644 --- a/libcob/common.c +++ b/libcob/common.c @@ -1021,7 +1021,7 @@ set_source_location (const char **file, unsigned int *line) /* writes data to fd, returns either the initial size or -1 in case of error */ static COB_INLINE cob_s64_t -write_until_fail (int fd, const void *data, size_t size) +write_until_fail (int fd, const char *data, size_t size) { register cob_s64_t size_to_write = size; while (size_to_write > 0) {