Add Debian source format file
[wdq2wav.git] / wdq2wav.cpp
index 81b1c9cc57ecc7727c2bb6fb22daac88b047d331..2ea87bf9ce0af8c94e7dc8b9e3e246f2196b3cd9 100644 (file)
@@ -256,7 +256,7 @@ wdq2wav (const char* wdq_fname, const int channel, const char *wav_fname, bool p
     std::ostringstream os3;
     time = wdq.m_time_acq_stop;
     tm = gmtime (&time);
-    os3 << "Time File Written: " << asctime(tm);
+    os3 << "Time File Written:  " << asctime(tm);
     info_msg_sans_newline (os3.str().c_str());
     std::ostringstream os4;
     os4 << "Samples: " << wdq.m_nSamples <<
@@ -287,7 +287,7 @@ wdq2wav (const char* wdq_fname, const int channel, const char *wav_fname, bool p
   if (! g_dry_run && !g_dont_demean) {
     std::cout << " (removing)\n";
     int mean = nearest<int>(wdq_channel.m_raw_mean);
-    for (int i = 0; i < wdq.m_nSamples; i++)
+    for (unsigned int i = 0; i < wdq.m_nSamples; i++)
       wdq_channel.m_data[i] -= mean;
   } else {
     std::cout << " (not removing)\n";