Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2003:
[Freeciv-Dev] (PR#4771) build fix for gcc 3.3
Home

[Freeciv-Dev] (PR#4771) build fix for gcc 3.3

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: bursig@xxxxxxxxx
Subject: [Freeciv-Dev] (PR#4771) build fix for gcc 3.3
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 6 Aug 2003 15:49:34 -0700
Reply-to: rt@xxxxxxxxxxxxxx

[bursig - Wed Aug  6 14:00:29 2003]:

> This is small fix which allow build without warrings on gcc 3.3

I always thought those pointer casts were dangerous.  Are there any
others?  Is it possible that the pointer cast will cause an error (e.g.,
if an enum is a 1-byte value and is passed instead of an int*)?

But here's a more localized fix.

jason

Attachment: comp-2.diff
Description: comp-2.diff


[Prev in Thread] Current Thread [Next in Thread]