summarylogtreecommitdiffstats
path: root/qsiapitest_init.patch
blob: d159c43af9860c75400598f3c359f71121cb2bc1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- src/qsiapitest.cpp.orig	2017-03-31 00:23:56.000000000 +0200
+++ src/qsiapitest.cpp	2017-06-04 01:31:07.142438223 +0200
@@ -193,8 +193,8 @@
 		std::cout << "qsiapitest version: " << info << "\n";
 		//Discover the connected cameras
 		int iNumFound;
-		std::string camSerial[QSICamera::MAXCAMERAS] = "";
-		std::string camDesc[QSICamera::MAXCAMERAS] = "";
+		std::string camSerial[QSICamera::MAXCAMERAS] = {};
+		std::string camDesc[QSICamera::MAXCAMERAS] = {};
 
 		cam.get_AvailableCameras(camSerial, camDesc, iNumFound);