Skip to content

Commit f2db03d

Browse files
committed
Fix CI-CD feedback (round 3)
1 parent 4989a4b commit f2db03d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/cpp/windows/jssc.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ JNIEXPORT jbyteArray JNICALL Java_jssc_SerialNativeInterface_readBytes
330330
lpBuffer = (jbyte*)malloc(byteCount*sizeof*lpBuffer);
331331
if( !lpBuffer ){
332332
char emsg[32]; emsg[0] = '\0';
333-
snprintf(emsg, sizeof emsg, "malloc(%"PRIsz") failed", byteCount*sizeof*lpBuffer);
333+
snprintf(emsg, sizeof emsg, "malloc(%" PRIsz ") failed", byteCount*sizeof*lpBuffer);
334334
jclass exClz = env->FindClass("java/lang/RuntimeException");
335335
if( exClz ) env->ThrowNew(exClz, emsg);
336336
returnArray = NULL; goto Finally;

0 commit comments

Comments
 (0)