correct data type for key lifetime

Closes #10
pull/11/head
Richard Fuchs 12 years ago
parent e883f57929
commit 4bf2ec7415

@ -487,7 +487,7 @@ static int parse_attribute_crypto(struct sdp_attribute *output) {
err = "invalid key lifetime";
if (!c->lifetime || c->lifetime > 64)
goto error;
c->lifetime = 1 << c->lifetime;
c->lifetime = 1ULL << c->lifetime;
}
else
c->lifetime = strtoull(c->lifetime_str.s, NULL, 10);

Loading…
Cancel
Save