Skip to content

Commit

Permalink
portability fix for last commits
Browse files Browse the repository at this point in the history
  • Loading branch information
sf-mensch committed Oct 4, 2024
1 parent ef11be4 commit 83ec077
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libcob/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 83ec077

Please sign in to comment.