[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: RFH: segfault on s390x (hyperestraier)



On Fri, Aug 17, 2012 at 07:11:26PM +0900, Satoru KURASHIKI wrote:
> This segfault occurs only on s390x, so I guess it is some of platform
> specific one. Are there any pattern or best practice about such problems?

Casts of pointers usually are a problem. Like casting size_t* to int* and vice
versa.

Kind regards
Philipp Kern

PS: The liberal use of casts from (unsigned) char* to int* does not make me
that happy.  Like «return (int *)"";»…

Attachment: signature.asc
Description: Digital signature


Reply to: