From f1adf87e7b39d930537e7cb2cc6d0dd64ca6a056 Mon Sep 17 00:00:00 2001 From: Arthur Dene Ice Date: Sat, 10 May 2014 16:55:21 -0700 Subject: [PATCH] unsigned long to uint8 conversion explicit --- zone/zonedb.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zone/zonedb.cpp b/zone/zonedb.cpp index ee4d2e863..930b6dc81 100644 --- a/zone/zonedb.cpp +++ b/zone/zonedb.cpp @@ -2641,7 +2641,7 @@ void ZoneDatabase::LoadBuffs(Client *c) { uint32 numhits = atoul(row[6]); uint32 melee_rune = atoul(row[7]); uint32 magic_rune = atoul(row[8]); - uint8 persistent = atoul(row[9]); + uint8 persistent = (uint8)atoul(row[9]); uint32 dot_rune = atoul(row[10]); int32 caston_x = atoul(row[11]); int32 caston_y = atoul(row[12]);