use %hu for printing cycles
This commit is contained in:
parent
a4abcfc8f9
commit
689eb7b4ae
2 changed files with 3 additions and 3 deletions
|
@ -154,11 +154,11 @@ void init_viewer(Arena *arena, App_State &app, u16 n_cols)
|
|||
String8 ntpl_desc = rntuple_description(scratch.arena, anchor->anchor);
|
||||
if (rntuple_is_old_version(anchor->anchor)) {
|
||||
viewer.col_title[0] = 1.f;
|
||||
viewer.title = push_str8f(arena, "\"%s;%u\" (%s) from file \"%s\" ** old version, some data missing! **",
|
||||
viewer.title = push_str8f(arena, "\"%s;%hu\" (%s) from file \"%s\" ** old version, some data missing! **",
|
||||
anchor->name.c(), anchor->cycle, ntpl_desc.c(), app.inspected_file.name.c());
|
||||
} else {
|
||||
viewer.col_title[0] = viewer.col_title[1] = viewer.col_title[2] = 1.f;
|
||||
viewer.title = push_str8f(arena, "\"%s;%u\" (%s) from file \"%s\"", anchor->name.c(), anchor->cycle,
|
||||
viewer.title = push_str8f(arena, "\"%s;%hu\" (%s) from file \"%s\"", anchor->name.c(), anchor->cycle,
|
||||
ntpl_desc.c(), app.inspected_file.name.c());
|
||||
}
|
||||
} else {
|
||||
|
|
|
@ -243,7 +243,7 @@ RNTuple_Data get_rntuple_data(Arena *arena, const Inspected_File &file, const TF
|
|||
}
|
||||
|
||||
const RNTuple_Anchor_Info *ntuple_info = (const RNTuple_Anchor_Info *)sec_anchor->info;
|
||||
fprintf(stderr, "Loading pages from \"%s;%u\"...\n", ntuple_info->name.c(), ntuple_info->cycle);
|
||||
fprintf(stderr, "Loading pages from \"%s;%hu\"...\n", ntuple_info->name.c(), ntuple_info->cycle);
|
||||
|
||||
u64 clusters_first_idx = n_clusters;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue