Contents of /trunk/kdepimlibs4/patches/kdepimlibs4-4.5.1-libical046.patch
Parent Directory | Revision Log
Revision 1151 -
(show annotations)
(download)
Mon Sep 27 14:26:06 2010 UTC (14 years ago) by niro
File size: 613 byte(s)
Mon Sep 27 14:26:06 2010 UTC (14 years ago) by niro
File size: 613 byte(s)
-fixed compile issues against libical >= 0.46
1 | diff -Naur kdepimlibs-4.5.1/kcal/icalformat_p.cpp kdepimlibs-4.5.1-magellan/kcal/icalformat_p.cpp |
2 | --- kdepimlibs-4.5.1/kcal/icalformat_p.cpp 2010-05-27 19:22:10.000000000 +0200 |
3 | +++ kdepimlibs-4.5.1-magellan/kcal/icalformat_p.cpp 2010-09-27 16:28:42.000000000 +0200 |
4 | @@ -784,7 +784,7 @@ |
5 | if ( att->isUri() ) { |
6 | attach = icalattach_new_from_url( att->uri().toUtf8().data() ); |
7 | } else { |
8 | - attach = icalattach_new_from_data ( ( unsigned char * )att->data(), 0, 0 ); |
9 | + attach = icalattach_new_from_data ( ( const char * )att->data(), 0, 0 ); |
10 | } |
11 | icalproperty *p = icalproperty_new_attach( attach ); |
12 |