mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-13 01:29:02 -05:00
Tests: fix calling gdk_init()
gdk_init() takes pointers to these arguments so it can modify them to strip all arguments already consumed.
This commit is contained in:
@@ -2,6 +2,6 @@
|
||||
|
||||
int main(int argc, char* argv[])
|
||||
{
|
||||
gdk_init(argc, argv);
|
||||
gdk_init(&argc, &argv);
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user