summaryrefslogtreecommitdiffstats
path: root/heimdall-frontend/Source/Packaging.cpp
diff options
context:
space:
mode:
authorBenjamin Dobell <benjamin.dobell+git@glassechidna.com.au>2013-03-09 16:32:16 +0100
committerBenjamin Dobell <benjamin.dobell@+gitglassechidna.com.au>2013-03-09 16:33:12 +0100
commitf7f29172cb11fabf1d017ecdadaf32ea37eca4df (patch)
tree1433486d66287440a006288379da0c2f1f2e3b3b /heimdall-frontend/Source/Packaging.cpp
parentFixed output bug attempting to log a std::string instead of a C-style string with printf. (diff)
downloadHeimdall-f7f29172cb11fabf1d017ecdadaf32ea37eca4df.tar
Heimdall-f7f29172cb11fabf1d017ecdadaf32ea37eca4df.tar.gz
Heimdall-f7f29172cb11fabf1d017ecdadaf32ea37eca4df.tar.bz2
Heimdall-f7f29172cb11fabf1d017ecdadaf32ea37eca4df.tar.lz
Heimdall-f7f29172cb11fabf1d017ecdadaf32ea37eca4df.tar.xz
Heimdall-f7f29172cb11fabf1d017ecdadaf32ea37eca4df.tar.zst
Heimdall-f7f29172cb11fabf1d017ecdadaf32ea37eca4df.zip
Diffstat (limited to '')
-rw-r--r--heimdall-frontend/Source/Packaging.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/heimdall-frontend/Source/Packaging.cpp b/heimdall-frontend/Source/Packaging.cpp
index 9bf7d46..c4d3a51 100644
--- a/heimdall-frontend/Source/Packaging.cpp
+++ b/heimdall-frontend/Source/Packaging.cpp
@@ -301,7 +301,7 @@ bool Packaging::WriteTarEntry(const QString& filePath, QTemporaryFile *tarFile,
// Note: We don't support base-256 encoding. Support could be added later.
sprintf(tarHeader.fields.size, "%011llo", file.size());
- sprintf(tarHeader.fields.modifiedTime, "%011llo", qtFileInfo.lastModified().toTime_t());
+ sprintf(tarHeader.fields.modifiedTime, "%u", qtFileInfo.lastModified().toTime_t());
// Regular File
tarHeader.fields.typeFlag = '0';