From 5bfdbf59a2d6691dbe54ac71dbdbfb030f3351a4 Mon Sep 17 00:00:00 2001 From: Dhanya Thattil Date: Wed, 23 Feb 2022 10:07:00 +0100 Subject: [PATCH] warnings --- slsDetectorServers/eigerDetectorServer/FebControl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/slsDetectorServers/eigerDetectorServer/FebControl.c b/slsDetectorServers/eigerDetectorServer/FebControl.c index 431a9746e..755728e09 100644 --- a/slsDetectorServers/eigerDetectorServer/FebControl.c +++ b/slsDetectorServers/eigerDetectorServer/FebControl.c @@ -995,7 +995,7 @@ int Feb_Control_PrintAcquisitionSetup() { time_t rawtime; time(&rawtime); struct tm *timeinfo = localtime(&rawtime); - int dr = 0; + unsigned int dr = 0; if (!Feb_Control_GetDynamicRange(&dr)) { LOG(logERROR, ("Could not print acquisition set up\n")); return 0; @@ -1905,7 +1905,7 @@ int64_t Feb_Control_Get_RateTable_Period_in_nsec() { int Feb_Control_SetRateCorrectionTau(int64_t tau_in_Nsec) { // period = exptime if 16bit, period = subexptime if 32 bit - int dr = 0; + unsigned int dr = 0; if (!Feb_Control_GetDynamicRange(&dr)) { LOG(logERROR, ("Could not set rate correction tau\n")); return 0;