summaryrefslogtreecommitdiff
path: root/xdelta3
diff options
context:
space:
mode:
authorJosh MacDonald <josh.macdonald@gmail.com>2016-01-07 22:42:24 -0800
committerJosh MacDonald <josh.macdonald@gmail.com>2016-01-07 22:42:24 -0800
commit2a30911b29810a0c7024a60d892a01a321b67823 (patch)
tree2d2ad8d9073d8bed0900d75c22467e8a686e999b /xdelta3
parent9a76ffd0fa6041a28a17748614d01dcd392a8de7 (diff)
Mingw warning fix, update (C)
Diffstat (limited to 'xdelta3')
-rw-r--r--xdelta3/testing/file.h3
-rw-r--r--xdelta3/xdelta3.h3
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:
313 static int static_counter = 0; 313 static int static_counter = 0;
314 pid_t pid = getpid(); 314 pid_t pid = getpid();
315 char buf[64]; 315 char buf[64];
316 snprintf(buf, 64, "/tmp/regtest.%d.%d", pid, static_counter++); 316 xoff_t xpid = pid;
317 snprintf(buf, 64, "/tmp/regtest.%"Q"u.%d", xpid, static_counter++);
317 filename_.append(buf); 318 filename_.append(buf);
318 unlink(filename_.c_str()); 319 unlink(filename_.c_str());
319 } 320 }
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 @@
1/* xdelta 3 - delta compression tools and library 1/* xdelta 3 - delta compression tools and library
2 * Copyright (C) 2001, 2003, 2004, 2005, 2006, 2007, 2 * Copyright (C) Joshua P. MacDonald
3 * 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015. Joshua P. MacDonald
4 * 3 *
5 * This program is free software; you can redistribute it and/or modify 4 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by 5 * it under the terms of the GNU General Public License as published by