Deprecated with -std=c++11 218/head
authorsvost <ya.nowa@yandex.ru>
Mon, 4 May 2015 10:11:12 +0000 (13:11 +0300)
committersvost <ya.nowa@yandex.ru>
Mon, 4 May 2015 10:11:12 +0000 (13:11 +0300)
src/stun.cpp

index 1ab410e..30da395 100644 (file)
@@ -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));