From: Holger Schemel Date: Fri, 23 Feb 2024 18:06:36 +0000 (+0100) Subject: replaced glib function calls to g_memmove() X-Git-Tag: 4.4.0.0-test-1~295 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=56570687a23b88c3149c74e45add4cc9ed92796c;p=rocksndiamonds.git replaced glib function calls to g_memmove() --- diff --git a/src/game_bd/bd_cave.c b/src/game_bd/bd_cave.c index 537d8cb0..a1a5d409 100644 --- a/src/game_bd/bd_cave.c +++ b/src/game_bd/bd_cave.c @@ -578,7 +578,7 @@ void gd_cave_copy(GdCave *dest, const GdCave *src) int i; /* copy entire data */ - g_memmove(dest, src, sizeof(GdCave)); + memmove(dest, src, sizeof(GdCave)); /* but duplicate dynamic data */ dest->tags = create_hashtable(gd_str_case_hash, gd_str_case_equal, free, free);