From 2a30911b29810a0c7024a60d892a01a321b67823 Mon Sep 17 00:00:00 2001 From: Josh MacDonald Date: Thu, 7 Jan 2016 22:42:24 -0800 Subject: Mingw warning fix, update (C) --- xdelta3/testing/file.h | 3 ++- xdelta3/xdelta3.h | 3 +-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/xdelta3/testing/file.h b/xdelta3/testing/file.h index c6f3c7b..19b4688 100644 --- a/xdelta3/testing/file.h +++ b/xdelta3/testing/file.h @@ -313,7 +313,8 @@ public: static int static_counter = 0; pid_t pid = getpid(); char buf[64]; - snprintf(buf, 64, "/tmp/regtest.%d.%d", pid, static_counter++); + xoff_t xpid = pid; + snprintf(buf, 64, "/tmp/regtest.%"Q"u.%d", xpid, static_counter++); filename_.append(buf); unlink(filename_.c_str()); } diff --git a/xdelta3/xdelta3.h b/xdelta3/xdelta3.h index 6cc0f9f..af83ea2 100644 --- a/xdelta3/xdelta3.h +++ b/xdelta3/xdelta3.h @@ -1,6 +1,5 @@ /* xdelta 3 - delta compression tools and library - * Copyright (C) 2001, 2003, 2004, 2005, 2006, 2007, - * 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015. Joshua P. MacDonald + * Copyright (C) Joshua P. MacDonald * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by -- cgit v1.2.3