diff options
author | Tilman Keskinoz <arved@FreeBSD.org> | 2004-08-20 14:16:59 +0000 |
---|---|---|
committer | Tilman Keskinoz <arved@FreeBSD.org> | 2004-08-20 14:16:59 +0000 |
commit | 25f9a98d4ef6f3337a2a82bf83477fdbb98802de (patch) | |
tree | 4453aec37db754de4b535e4a729d47ac2c4a2e2d /graphics/libwpcg | |
parent | Updated to 1.39 (diff) |
Fix build with gcc 3.4
Notes
Notes:
svn path=/head/; revision=116767
Diffstat (limited to 'graphics/libwpcg')
-rw-r--r-- | graphics/libwpcg/files/patch-WP_Terrain.C | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/libwpcg/files/patch-WP_Terrain.C b/graphics/libwpcg/files/patch-WP_Terrain.C new file mode 100644 index 000000000000..f31cefeee991 --- /dev/null +++ b/graphics/libwpcg/files/patch-WP_Terrain.C @@ -0,0 +1,11 @@ +--- WP_Terrain.C.orig Thu Aug 19 15:07:13 2004 ++++ WP_Terrain.C Thu Aug 19 15:07:26 2004 +@@ -29,7 +29,7 @@ + { + //creates a random 3D terrain + +- WP_Vertex **height_map = new (WP_Vertex*)[height]; ++ WP_Vertex **height_map = new WP_Vertex*[height]; + if (!height_map) + { + cerr << "Unable to allocate memory for height_map" << endl; |