]> granicus.if.org Git - pdns/commitdiff
close bug #121, compilation error on gcc4 and x86-64
authorBert Hubert <bert.hubert@netherlabs.nl>
Sun, 18 Feb 2007 19:40:41 +0000 (19:40 +0000)
committerBert Hubert <bert.hubert@netherlabs.nl>
Sun, 18 Feb 2007 19:40:41 +0000 (19:40 +0000)
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@954 d19b8d6e-7fed-0310-83ef-9ca221ded41b

pdns/distributor.hh

index 3a346ed031119fdd8350ed3a97622046a90ab1ed..2d9200f8856f7edfe6c9e0c77e1996fe567f415b 100644 (file)
@@ -198,7 +198,7 @@ template<class Answer, class Question, class Backend>void *Distributor<Answer,Qu
         return 0;
       }
       catch(...) {
-        L<<Logger::Error<<Logger::NTLog<<"Caught unknown exception in Distributor thread "<<(unsigned int)pthread_self()<<endl;
+        L<<Logger::Error<<Logger::NTLog<<"Caught unknown exception in Distributor thread "<<(unsigned long)pthread_self()<<endl;
        delete b;
         return 0;
       }