Skip to content

Commit

Permalink
Mingw warning fix, update (C)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmacd committed Jan 8, 2016
1 parent 9a76ffd commit 2a30911
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 2 additions & 1 deletion xdelta3/testing/file.h
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,8 @@ class ExtFile {
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());
}
Expand Down
3 changes: 1 addition & 2 deletions xdelta3/xdelta3.h
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 2a30911

Please sign in to comment.