Skip to content

Commit

Permalink
example1: fix -Wformat
Browse files Browse the repository at this point in the history
  • Loading branch information
illwieckz committed Jul 13, 2024
1 parent d0c68fb commit 4bfe65e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example1/example1.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ static bool print_crn_info(const crn_uint8* pData, crn_uint32 data_size) {
if (!crnd::crnd_get_texture_info(pData, data_size, &tex_info))
return false;

printf("Dimensions: %ux%u\nLevels: %u\nFaces: %u\nBytesPerBlock: %u\nUserData0: %u\nUserData1: %u\nCrnFormat: %S\n",
printf("Dimensions: %ux%u\nLevels: %u\nFaces: %u\nBytesPerBlock: %u\nUserData0: %u\nUserData1: %u\nCrnFormat: %s\n",
tex_info.m_width, tex_info.m_height, tex_info.m_levels, tex_info.m_faces, tex_info.m_bytes_per_block, tex_info.m_userdata0, tex_info.m_userdata1, crn_get_format_string(tex_info.m_format));

return true;
Expand Down

0 comments on commit 4bfe65e

Please sign in to comment.