Do not use the %lld printf conversion in the platform printf() as some

legacy platforms do not support it.

FossilOrigin-Name: f8696b60eec0dcacfe92d9a31cbf1436d674140e5447de0cd1c2f52bff6c2be4
This commit is contained in:
drh
2019-06-13 14:07:41 +00:00
parent 4245e0456d
commit e25007602b
3 changed files with 10 additions and 8 deletions
+3 -1
View File
@@ -7396,7 +7396,9 @@ static int do_meta_command(char *zLine, ShellState *p){
utf8_printf(p->out, "Usage: .filectrl %s %s\n", zCmd,aCtrl[iCtrl].zUsage);
rc = 1;
}else if( isOk==1 ){
raw_printf(p->out, "%lld\n", iRes);
char zBuf[100];
sqlite3_snprintf(sizeof(zBuf), zBuf, "%lld", iRes);
raw_printf(p->out, "%s\n", zBuf);
}
}else