From 77f4891c222583c8deffc34732ccf325bac9e11b Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 26 Feb 2012 21:28:48 -0600 Subject: Fix a number of tdelibs build warnings --- tdecore/kcrash.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'tdecore') diff --git a/tdecore/kcrash.cpp b/tdecore/kcrash.cpp index ffefcf97c..429e049ad 100644 --- a/tdecore/kcrash.cpp +++ b/tdecore/kcrash.cpp @@ -301,7 +301,10 @@ void KCrash::startDrKonqi( const char* argv[], int argc ) } long pid; read_socket(socket, buffer, header.arg_length); - pid = *((long *) buffer); + pid = 0; + for (int k=0;k