Skip to content

Commit

Permalink
X11: Fix -Wc++11-narrowing error with clang
Browse files Browse the repository at this point in the history
Fixes #17725.
  • Loading branch information
akien-mga committed Mar 24, 2018
1 parent 5b23d57 commit 60835ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platform/x11/os_x11.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1398,7 +1398,7 @@ static Property read_property(Display *p_display, Window p_window, Atom p_proper

} while (bytes_after != 0);

Property p = { ret, actual_format, nitems, actual_type };
Property p = { ret, actual_format, (int)nitems, actual_type };

return p;
}
Expand Down

0 comments on commit 60835ce

Please sign in to comment.