Skip to content

Commit

Permalink
🪲 Fix MSVC compilation errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Schneegans committed Jan 29, 2025
1 parent 25ded30 commit 04a5702
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/cs-gui/GuiItem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ GuiItem::GuiItem(std::string const& url, bool allowLocalFileAccess)
, mIsRelOffsetY(true) {

setDrawCallback([this](DrawEvent const& event) {
mPBOsNeedUpload = mTexturePBOs.size();
mPBOsNeedUpload = static_cast<uint8_t>(mTexturePBOs.size());

if (event.mResized) {
mTextureSizeX = event.mWidth;
Expand Down
2 changes: 2 additions & 0 deletions src/cs-gui/GuiItem.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@

#include "WebView.hpp"

#include <array>

class VistaTexture;

namespace cs::gui {
Expand Down

0 comments on commit 04a5702

Please sign in to comment.