projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8c7bbe
)
fixed compiler warnings with GCC 11
author
Holger Schemel
<info@artsoft.org>
Mon, 10 Feb 2025 17:56:43 +0000
(18:56 +0100)
committer
Holger Schemel
<info@artsoft.org>
Mon, 10 Feb 2025 15:58:22 +0000
(16:58 +0100)
src/game_bd/bd_cave.h
patch
|
blob
|
history
diff --git
a/src/game_bd/bd_cave.h
b/src/game_bd/bd_cave.h
index 3034f5246e0a4ea8341b0cd3b51882a254025fd3..c3b38d0de5829cf4aff65172d357b6e00fec7696 100644
(file)
--- a/
src/game_bd/bd_cave.h
+++ b/
src/game_bd/bd_cave.h
@@
-739,7
+739,7
@@
void gd_drawcave_game(const GdCave *cave,
boolean bonus_life_flash, int animcycle, boolean hate_invisible_outbox);
// function to copy a GdString
-static inline char *gd_strcpy(GdString dest, const
GdString
src)
+static inline char *gd_strcpy(GdString dest, const
char *
src)
{
return strncpy(dest, src, sizeof(GdString));
}