This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] Avoid bogus pointer->int cast


Hi,

The patch below addresses a (minor) bug in readdir.c. It replaces a (bogus) pointer->int cast with a pointer->intptr_t cast.

[pointer->int casts are invalid on many architectures.]

OK to commit? If nobody objects, I am going to commit this patch later this week.

Ralf


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]