Skip to content

Commit

Permalink
Fix another printf error (on Windows)
Browse files Browse the repository at this point in the history
  • Loading branch information
gaborcsardi committed Dec 10, 2023
1 parent 64dd092 commit 8d1cd54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/errors.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ SEXP r_throw_system_error(const char *func, const char *filename, int line,
va_start(args, msg);
vsnprintf(errorbuf, ERRORBUF_SIZE, msg, args);
va_end(args);
error("%s (system error %d, %s) @%s:%d (%s)", errorbuf, errorcode,
error("%s (system error %ld, %s) @%s:%d (%s)", errorbuf, errorcode,
realsysmsg, filename, line, func);
return R_NilValue;
}
Expand Down

0 comments on commit 8d1cd54

Please sign in to comment.