Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows build and explicit driver selection #39

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Prev Previous commit
Next Next commit
fix: match cast type with declaration
Use the same target type as the declaration of the overload we call.
This compiles both with gcc and VS.
silhusk committed Nov 20, 2022
commit 18099c00f0415e6a9b1c48514ee9df31aceee73b
2 changes: 1 addition & 1 deletion src/viacamcontroller.cpp
Original file line number Diff line number Diff line change
@@ -229,7 +229,7 @@ CCamera* CViacamController::SetUpCamera()

wxSingleChoiceDialog choiceDlg(
NULL, _("Choose the camera to use"), _T("Enable Viacam"), strArray,
(char**)NULL, wxDEFAULT_DIALOG_STYLE | wxOK | wxCANCEL | wxCENTRE);
(void**)NULL, wxDEFAULT_DIALOG_STYLE | wxOK | wxCANCEL | wxCENTRE);

if (choiceDlg.ShowModal ()!= wxID_OK) return NULL;