Browse Source

correct data type for key lifetime

Closes #10
pull/11/head
Richard Fuchs 12 years ago
parent
commit
4bf2ec7415
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      daemon/sdp.c

+ 1
- 1
daemon/sdp.c View File

@ -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