summaryrefslogtreecommitdiff
path: root/xdelta3
diff options
context:
space:
mode:
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