Skip to content

Commit

Permalink
Fix clang tidy error
Browse files Browse the repository at this point in the history
  • Loading branch information
josephburkhart committed Sep 24, 2024
1 parent 74731b0 commit f84a507
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gsd/gsd.c
Original file line number Diff line number Diff line change
Expand Up @@ -1619,7 +1619,7 @@ inline static int gsd_initialize_handle(struct gsd_handle* handle)
&& (handle->header.gsd_version
!= gsd_make_version(GSD_CURRENT_FILE_VERSION_MAJOR, GSD_CURRENT_FILE_VERSION_MINOR))
&& (handle->header.gsd_version >> (sizeof(uint32_t) * 4) == GSD_CURRENT_FILE_VERSION_MAJOR)
&& (handle->header.gsd_version & 0xFFFF < GSD_CURRENT_FILE_VERSION_MINOR))
&& (handle->header.gsd_version & (0xFFFF < GSD_CURRENT_FILE_VERSION_MINOR)))
{
handle->header.gsd_version
= gsd_make_version(GSD_CURRENT_FILE_VERSION_MAJOR, GSD_CURRENT_FILE_VERSION_MINOR);
Expand Down

0 comments on commit f84a507

Please sign in to comment.