sscanf("%jd") is not ANSI C and we do not provide a libcompat wrapper yet. So use "%lld".