Complete.Org: Mailing Lists: Archives: freeciv-dev: July 2000:
[Freeciv-Dev] little PATCH to timing.c (CVS 27-Jul-00)
Home

[Freeciv-Dev] little PATCH to timing.c (CVS 27-Jul-00)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] little PATCH to timing.c (CVS 27-Jul-00)
From: Dirk Stoecker <stoecker@xxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 27 Jul 2000 22:02:46 +0200 (MEST)

Hi,

added 4 explicit casts to common/timing.c.

Why: There are systems which define clock_t to unsigned and afterwards
complain about checks against -1. A cast fixes this and does no harm.

Patch added as binary and text (it's so short).

Ciao
 ____  _ _  ____  _ _    _ _  ____
|    |  |  |    |  | \  / |  |    | the cool Gremlin from Bischofswerda
|  __   |   ____|  |  \/  |  |    | WWW: http://home.pages.de/~stoecker/
|    |  |  |       |      |  |    | PGP key available on www page.
|____| _|_ |____| _|_    _|_ |____| I hope AMIGA never ends to make fun!

************************************************************************
* snail-mail: Dirk Stoecker              * e-mail:                     *
*             Geschwister-Scholl-Str. 10 * stoecker@xxxxxxxxxxxxxx     *
*             01877 Bischofswerda        * phone:                      *
*             GERMANY                    * GERMANY +49 (0)3594/706666  *
************************************************************************

Attachment: tim.diff.gz
Description: Binary data

Attachment: tim.diff
Description: Text document


[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] little PATCH to timing.c (CVS 27-Jul-00), Dirk Stoecker <=