Skip to content

Commit 24f59c3

Browse files
committed
Fix CI-CD feedback (round 5)
1 parent 8c9759a commit 24f59c3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/cpp/windows/jssc.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ JNIEXPORT jint JNICALL Java_jssc_SerialNativeInterface_writeBytes
292292
delete overlapped;
293293
if( err ){
294294
char emsg[128];
295-
snprintf(emsg, sizeof emsg, "Error %lu: https://learn.microsoft.com/en-us/windows/win32/debug/system-error-codes#system-error-codes", err);
295+
snprintf(emsg, sizeof emsg, "Error %lu: https://learn.microsoft.com/en-us/windows/win32/debug/system-error-codes#system-error-codes", (long unsigned)err);
296296
jclass exClz = env->FindClass("jssc/SerialPortException");
297297
if( exClz ) env->ThrowNew(exClz, emsg);
298298
}

0 commit comments

Comments
 (0)