Fixed two compiler warnings

This commit is contained in:
Linus Dierheimer
2022-02-09 15:22:57 +01:00
parent bc8887fb42
commit 5f965ac787
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -175,7 +175,7 @@ typedef struct XcbRandrData
static bool xcbRandrHandleModeInfo(XcbRandrData* data, xcb_randr_mode_info_t* modeInfo)
{
uint32_t refreshRate = ffdsParseRefreshRate((int32_t) (
modeInfo->dot_clock / (modeInfo->htotal * modeInfo->vtotal)
modeInfo->dot_clock / (uint32_t) (modeInfo->htotal * modeInfo->vtotal)
));
return ffdsAppendResolution(