We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4989a4b commit f2db03dCopy full SHA for f2db03d
1 file changed
src/main/cpp/windows/jssc.cpp
@@ -330,7 +330,7 @@ JNIEXPORT jbyteArray JNICALL Java_jssc_SerialNativeInterface_readBytes
330
lpBuffer = (jbyte*)malloc(byteCount*sizeof*lpBuffer);
331
if( !lpBuffer ){
332
char emsg[32]; emsg[0] = '\0';
333
- snprintf(emsg, sizeof emsg, "malloc(%"PRIsz") failed", byteCount*sizeof*lpBuffer);
+ snprintf(emsg, sizeof emsg, "malloc(%" PRIsz ") failed", byteCount*sizeof*lpBuffer);
334
jclass exClz = env->FindClass("java/lang/RuntimeException");
335
if( exClz ) env->ThrowNew(exClz, emsg);
336
returnArray = NULL; goto Finally;
0 commit comments