diff options
| author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-01-11 07:21:31 +0100 |
|---|---|---|
| committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-01-11 07:21:31 +0100 |
| commit | b1c4304104910c4bc066cd43f9784fe2f3ddf1ad (patch) | |
| tree | a66e2e16d7087811e10385f9f830836f555c1908 /lib/Plugins/Firefox.cpp | |
| parent | c2009ddeb7052dfe443f0239893f627759580c29 (diff) | |
| download | abrt-b1c4304104910c4bc066cd43f9784fe2f3ddf1ad.tar.gz abrt-b1c4304104910c4bc066cd43f9784fe2f3ddf1ad.tar.xz abrt-b1c4304104910c4bc066cd43f9784fe2f3ddf1ad.zip | |
*: cast pids and uigs to long, not int
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'lib/Plugins/Firefox.cpp')
| -rw-r--r-- | lib/Plugins/Firefox.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Plugins/Firefox.cpp b/lib/Plugins/Firefox.cpp index 92ef4e5..cd02a15 100644 --- a/lib/Plugins/Firefox.cpp +++ b/lib/Plugins/Firefox.cpp @@ -692,7 +692,7 @@ static void InstallDebugInfos(const char *pDebugDumpDir, std::string& build_ids) char *coredump = xasprintf("%s/"FILENAME_COREDUMP, pDebugDumpDir); /* SELinux guys are not happy with /tmp, using /var/run/abrt */ - char *tempdir = xasprintf(LOCALSTATEDIR"/run/abrt/tmp-%u-%lu", (int)getpid(), (long)time(NULL)); + char *tempdir = xasprintf(LOCALSTATEDIR"/run/abrt/tmp-%lu-%lu", (long)getpid(), (long)time(NULL)); /* log() goes to stderr/syslog, it's ok to use it here */ VERB1 log("Executing: %s %s %s %s", "abrt-debuginfo-install", coredump, tempdir, DEBUGINFO_CACHE_DIR); execlp("abrt-debuginfo-install", "abrt-debuginfo-install", coredump, tempdir, DEBUGINFO_CACHE_DIR, NULL); |
