We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d8ca587 commit 342cc8fCopy full SHA for 342cc8f
src/library/blas/gens/syrxk.c
@@ -1224,7 +1224,7 @@ genUpdateGenericDiagTile(
1224
unsigned int maxFetches = 0;
1225
const char *yname, *xname;
1226
const char *ldcName;
1227
- char hexadec[1];
+ char hexadec[2];
1228
1229
batch = createStmtBatch();
1230
if (batch == NULL) {
@@ -1453,7 +1453,8 @@ genUpdateGenericDiagTile(
1453
ksprintf(&kstr, "cc%u", i);
1454
}
1455
else {
1456
- itoa(iter.col, hexadec, 16);
+ snprintf(hexadec, sizeof(char)*2, "%x", iter.col);
1457
+ //itoa(iter.col, hexadec, 16);
1458
ksprintf(&kstr, "cc%u.s%s", i, hexadec);
1459
1460
0 commit comments