mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 07:11:41 +00:00
5fd63b95db
The struct alias is somehow blocking the detection of the call so the return value gets corrupted.
23 lines
277 B
R
23 lines
277 B
R
typedef struct Extent_s {
|
|
int width;
|
|
int height;
|
|
} Extent;
|
|
|
|
extern Extent get_size (void);
|
|
extern int getlen(void);
|
|
|
|
int main (void)
|
|
{
|
|
int x = get_size().width - getlen() - 1;
|
|
return x != 29;
|
|
}
|
|
|
|
Extent get_size (void)
|
|
{
|
|
return {38, 8};
|
|
}
|
|
|
|
int getlen (void)
|
|
{
|
|
return 8;
|
|
}
|