[maemo-developers] [maemo-developers] Re: Tinymail using mmap() gets killed by the kernel of the device

From: Philip Van Hoof spam at pvanhoof.be
Date: Sun Jul 16 13:17:46 EEST 2006
On Sat, 2006-07-15 at 23:19 +0300, Tomi Ollila wrote:
> Philip Van Hoof <spam at pvanhoof.be> writes:
> 
> >
> > If somebody feels brave, feel free to assist me in getting it 4 byte
> > aligned ;-). I don't have a lot experience here.
> 
> (((char *)address + 3) & ~3)

I simply use this on each char* pointer? That's it?


-- 
Philip Van Hoof, software developer at x-tend 
home: me at pvanhoof dot be 
gnome: pvanhoof at gnome dot org 
work: vanhoof at x-tend dot be 
http://www.pvanhoof.be - http://www.x-tend.be


More information about the maemo-developers mailing list