Re: [Nemiver-list] nemiver 0.4.0 is available



Hi all,

As I was packaging Nemiver for Gentoo, I had a small build issue with src/common/nmv-proc-mgr.cc

The error was :
[...]
nmv-proc-mgr.cc: In member function 'virtual const std::list<nemiver::common::IProcMgr::Process, std::allocator<nemiver::common::IProcMgr::Process> >& nemiver::common::ProcMgr::get_all_process_list() const': nmv-proc-mgr.cc:94: error: invalid conversion from 'pid_t*' to 'unsigned int*'

Attached is a trivial patch to fix it (note, I haven't yet had the time to really test Nemiver out so YMMV)

Thanks for the release :)

Rémi
--
remi domain hid
--- src/common/nmv-proc-mgr.cc.orig	2007-06-06 21:53:54.000000000 +0200
+++ src/common/nmv-proc-mgr.cc	2007-06-06 20:51:46.000000000 +0200
@@ -85,7 +85,7 @@
 {
     glibtop_proclist buf_desc ;
     memset (&buf_desc, 0, sizeof (buf_desc)) ;
-    unsigned int *pids=NULL;
+    pid_t *pids=NULL;
 
     m_process_list.clear () ;
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]