From f4f66f5c07b22bd68274e21aee2b32cb69cea637 Mon Sep 17 00:00:00 2001 From: ultramage Date: Sun, 27 Apr 2008 20:03:25 +0000 Subject: fixing some timestamp type difference warnings... git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12669 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/clif.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/map') diff --git a/src/map/clif.c b/src/map/clif.c index 985871cc7..d06e2bd07 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -11414,7 +11414,7 @@ void clif_Mail_refreshinbox(struct map_session_data *sd) memcpy(WFIFOP(fd,12+73*j), msg->title, MAIL_TITLE_LENGTH); WFIFOB(fd,52+73*j) = (msg->status != MAIL_UNREAD); // 0: unread, 1: read memcpy(WFIFOP(fd,53+73*j), msg->send_name, NAME_LENGTH); - WFIFOL(fd,77+73*j) = msg->timestamp; + WFIFOL(fd,77+73*j) = (uint32)msg->timestamp; j++; } WFIFOSET(fd,len); @@ -11763,7 +11763,7 @@ void clif_Auction_results(struct map_session_data *sd, short count, short pages, WFIFOL(fd,47+k) = auction.price; WFIFOL(fd,51+k) = auction.buynow; safestrncpy((char*)WFIFOP(fd,55+k), auction.buyer_name, NAME_LENGTH); - WFIFOL(fd,79+k) = auction.timestamp; + WFIFOL(fd,79+k) = (uint32)auction.timestamp; } WFIFOSET(fd, 12 + (count * 83)); } -- cgit v1.2.3-70-g09d2