diff options
Diffstat (limited to 'lib/pilotDateEntry.cpp')
-rw-r--r-- | lib/pilotDateEntry.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pilotDateEntry.cpp b/lib/pilotDateEntry.cpp index 18897d3..dfa6379 100644 --- a/lib/pilotDateEntry.cpp +++ b/lib/pilotDateEntry.cpp @@ -77,7 +77,7 @@ PilotDateEntry::PilotDateEntry(PilotRecord * rec) : { // Construct a fake pi_buffer for unpack_Appointment. // No ownership changes occur here. - pi_buffer_t b = { (unsigned char *) rec->data(), rec->size(), rec->size() } ; + pi_buffer_t b = { (unsigned char*)rec->data(), (size_t)rec->size(), (size_t)rec->size() } ; unpack_Appointment(&fAppointmentInfo, &b, datebook_v1); } return; |