changed deprecated uint32 declaration to uint32_t

This commit is contained in:
Erik Frojdh
2022-01-24 09:01:44 +01:00
parent f95a15c841
commit 02174f79d1
7 changed files with 16 additions and 16 deletions

View File

@ -249,7 +249,7 @@ template <class dataType> class analogDetector {
\returns pointer to current gain map is file reading succeeded, NULL is file reading didn't work.
*/
double *readGainMap(const char * imgname) {
uint32 nnx, nny;
uint32_t nnx, nny;
float *gm=ReadFromTiff( imgname, nny, nnx);
if (gm) {
if (gmap) delete [] gmap;
@ -688,7 +688,7 @@ template <class dataType> class analogDetector {
\returns 0 if file reading didn't succed, otherwise 1
*/
int readPedestals(const char * imgname) {
uint32 nnx, nny;
uint32_t nnx, nny;
float *gm=ReadFromTiff( imgname, nny, nnx);
if (nnx>nx) nnx=nx;
if (nny>ny) nny=ny;
@ -713,7 +713,7 @@ template <class dataType> class analogDetector {
\returns 0 if file reading didn't succed, otherwise 1
*/
int readImage(const char * imgname) {
uint32 nnx, nny;
uint32_t nnx, nny;
float *gm=ReadFromTiff( imgname, nny, nnx);
if (nnx>nx) nnx=nx;
if (nny>ny) nny=ny;
@ -764,7 +764,7 @@ template <class dataType> class analogDetector {
*/
int readPedestalRMS(const char * imgname) {
uint32 nnx, nny;
uint32_t nnx, nny;
float *gm=ReadFromTiff( imgname, nny, nnx);
if (nnx>nx) nnx=nx;
if (nny>ny) nny=ny;