From: svost Date: Mon, 4 May 2015 10:11:12 +0000 (+0300) Subject: Deprecated with -std=c++11 X-Git-Tag: nvc-v0.5.3~13^2 X-Git-Url: https://git.novaco.in/?p=novacoin.git;a=commitdiff_plain;h=f1203a7df9a39da0c75e5fa5ddbc2ce79b008a4b Deprecated with -std=c++11 --- diff --git a/src/stun.cpp b/src/stun.cpp index 1ab410e..30da395 100644 --- a/src/stun.cpp +++ b/src/stun.cpp @@ -351,7 +351,7 @@ static void stun_req_id(struct stun_header *req) req->id.id[1] &= 0x55555555; req->id.id[2] |= 0x55555555; req->id.id[3] &= 0x55555555; - register char x = 20; + char x = 20; do { uint32_t s_elm = S_block[(uint8_t)randfiller]; randfiller ^= (randfiller << 5) | (randfiller >> (64 - 5));