diff --git a/src/observations.cpp b/src/observations.cpp index 34a038dfb3b3dbfdd7734c5488fb360cfa6be759..68eba2b367b4dca2f4caed92d9ab1825621d2abb 100644 --- a/src/observations.cpp +++ b/src/observations.cpp @@ -134,7 +134,7 @@ static void Observations::print(obsd_t& _obs) printArray<unsigned char, ARRAY_SIZE(_obs.code)>("\tcode: ", _obs.code); printArray<unsigned char, ARRAY_SIZE(_obs.qualL)>("\tqualL: ", _obs.qualL); printArray<unsigned char, ARRAY_SIZE(_obs.qualP)>("\tqualP: ", _obs.qualP); - printf("\tFreq. channel: %uc \n", _obs.freq); + printf("\tFreq. channel: %uc \n", (int)_obs.freq); printArray<double, ARRAY_SIZE(_obs.L)>("\tL: ", _obs.L); printArray<double, ARRAY_SIZE(_obs.P)>("\tP: ", _obs.P); printArray<float, ARRAY_SIZE(_obs.D)>("\tD: ", _obs.D);