Review Request: fix compile error in xsyncbasedpoller

Milian Wolff mail at milianw.de
Sun Jan 17 14:53:32 GMT 2010


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard.kde.org/r/2641/
-----------------------------------------------------------

Review request for kdelibs.


Summary
-------

Fix compilation error on my machine (gcc (GCC) 4.4.2 20091208 (prerelease)), probably some unclear compiler behavior or a new strictness in GCC?

/home/kde4trunk/projects/kde4/kdelibs/kutils/kidletime/xsyncbasedpoller.cpp: In member function 'virtual void XSyncBasedPoller::catchIdleEvent()':
/home/kde4trunk/projects/kde4/kdelibs/kutils/kidletime/xsyncbasedpoller.cpp:242: error: invalid conversion from 'uint*' to 'int*'
/home/kde4trunk/projects/kde4/kdelibs/kutils/kidletime/xsyncbasedpoller.cpp:242: error:   initializing argument 4 of 'void XSyncValueAdd(XSyncValue*, XSyncValue, XSyncValue, int*)'


Diffs
-----

  /trunk/KDE/kdelibs/kutils/kidletime/xsyncbasedpoller.cpp 1075898 

Diff: http://reviewboard.kde.org/r/2641/diff


Testing
-------


Thanks,

Milian





More information about the kde-core-devel mailing list