]> sigrok.org Git - pulseview.git/blobdiff - pv/util.hpp
Build fixes for Qt5 Windows/mingw/MXE support.
[pulseview.git] / pv / util.hpp
index 71177ccf1e9c44504435fd15e3421ef242031446..1c78b89f1831b802f16531a90bed7a489905d92f 100644 (file)
@@ -14,8 +14,7 @@
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+ * along with this program; if not, see <http://www.gnu.org/licenses/>.
  */
 
 #ifndef PULSEVIEW_UTIL_HPP
@@ -76,7 +75,7 @@ typedef boost::multiprecision::number<
  * @return The formatted value.
  */
 QString format_time_si(
-       const Timestamp& t,
+       const Timestamp& v,
        SIPrefix prefix = SIPrefix::unspecified,
        unsigned precision = 0,
        QString unit = "s",