[maemo-developers] [maemo-developers] Re: Tinymail using mmap() gets killed by the kernel of the device
From: Guillem Jover guillem.jover at nokia.comDate: Tue Jul 18 17:25:51 EEST 2006
- Previous message: [maemo-developers] Re: Tinymail using mmap() gets killed by the kernel of the device
- Next message: [maemo-developers] Re: Tinymail using mmap() gets killed by the kernel of the device
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Sun, 2006-07-16 at 14:52:41 +0300, ext Tomi Ollila wrote: > Also, maybe better (or worse!) is (char *)(((int)address + 3) & ~3), > assumed that sizeof (char *) == sizeof (int). > This latter version seems to compile... And runs... on this architecture, but not on others. ;) If you have to use something like this, use intptr_t instead of int. regards, guillem
- Previous message: [maemo-developers] Re: Tinymail using mmap() gets killed by the kernel of the device
- Next message: [maemo-developers] Re: Tinymail using mmap() gets killed by the kernel of the device
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]