-Wint-to-pointer-cast in plan

Jaroslaw Staniek staniek at kde.org
Wed Nov 28 23:22:59 GMT 2012


Hi,
Are these safe warnings?

/home/jarek/dev/src/calligra/plan/plugins/schedulers/tj/taskjuggler/Resource.cpp:
In member function ‘bool TJ::Resource::bookSlot(uint, TJ::SbBooking*,
int)’:
/home/jarek/dev/src/calligra/plan/plugins/schedulers/tj/taskjuggler/Resource.cpp:500:40:
warning: cast to pointer from integer of different size
[-Wint-to-pointer-cast]
/home/jarek/dev/src/calligra/plan/plugins/schedulers/tj/taskjuggler/Resource.cpp:
In member function ‘bool TJ::Resource::bookInterval(TJ::Booking*, int,
int, int)’:
/home/jarek/dev/src/calligra/plan/plugins/schedulers/tj/taskjuggler/Resource.cpp:536:42:
warning: cast to pointer from integer of different size
[-Wint-to-pointer-cast]
/home/jarek/dev/src/calligra/plan/plugins/schedulers/tj/taskjuggler/Resource.cpp:578:43:
warning: cast to pointer from integer of different size
[-Wint-to-pointer-cast]


-- 
regards / pozdrawiam, Jaroslaw Staniek
 Kexi & Calligra & KDE | http://calligra.org/kexi | http://kde.org
 Qt Certified Specialist | http://qt-project.org
 http://www.linkedin.com/in/jstaniek



More information about the calligra-devel mailing list