Browse Source

Fixed a warning for guild master change time

Fixed #2246

Thanks to @anacondaqq
Lemongrass3110 8 năm trước cách đây
mục cha
commit
6e2ab60016
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/char/int_guild.c

+ 1 - 1
src/char/int_guild.c

@@ -1096,7 +1096,7 @@ int mapif_guild_master_changed(struct guild *g, int aid, int cid, time_t time)
 	WBUFL(buf,2)=g->guild_id;
 	WBUFL(buf,6)=aid;
 	WBUFL(buf,10)=cid;
-	WBUFL(buf,14)=time;
+	WBUFL(buf,14)=(uint32)time;
 	chmapif_sendall(buf,18);
 	return 0;
 }