diff options
Diffstat (limited to 'SharedForward.h.in')
-rw-r--r-- | SharedForward.h.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/SharedForward.h.in b/SharedForward.h.in index 091334b..d6ae75c 100644 --- a/SharedForward.h.in +++ b/SharedForward.h.in @@ -457,9 +457,9 @@ static void kwsys_shared_forward_strerror(char* message) message, KWSYS_SHARED_FORWARD_MAXPATH, 0); if (length < 1 || length > KWSYS_SHARED_FORWARD_MAXPATH) { /* FormatMessage failed. Use a default message. */ - _snprintf(message, KWSYS_SHARED_FORWARD_MAXPATH, - "Error 0x%X (FormatMessage failed with error 0x%X)", original, - GetLastError()); + snprintf(message, KWSYS_SHARED_FORWARD_MAXPATH, + "Error 0x%lX (FormatMessage failed with error 0x%lX)", original, + GetLastError()); } # else /* Implementation for UNIX. */ |