Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Search Forums

Showing results 1 to 2 of 2
Search took 0.00 seconds.
Search: Posts Made By: zaimoni
Forum: Development December 31, 2009, 09:16
Replies: 5
Views: 3,624
Posted By zaimoni
#include <stddef.h>(which is already happening,...

#include <stddef.h>(which is already happening, and will typedef size_t even in C90) Unfortunately, it's implementation-defined in C99 whether size_t is the same as uintptr_t.

Yes. That's...
Forum: Development December 25, 2009, 21:00
Replies: 5
Views: 3,624
Posted By zaimoni
One-line fix for C99 compilers (including GCC on...

One-line fix for C99 compilers (including GCC on Ubuntu):
- int page = (int)vpage;
+ intptr_t page = (intptr_t)vpage);
Casting void* to intptr_t is always safe in C99. MSVC doesn't...
Showing results 1 to 2 of 2

 
Forum Jump

All times are GMT +1. The time now is 08:56.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2022, vBulletin Solutions Inc.