Commit f5c28c60 authored by Pekka Pessi's avatar Pekka Pessi

Using longlong instead of long long.

longlong is defined in "config.h".

darcs-hash:20051031160122-65a35-45d3dc926139de1a2b9a4fc3a288874e26eba1da.gz
parent 9baf9ad4
......@@ -1692,6 +1692,10 @@ static int parse_ul(sdp_parser_t *p, char **r,
return -1;
}
#if !HAVE_STRTOULL
unsigned longlong strtoull(char const *string, char **return_end, int base);
#endif
/*
* parse_ull: parse an unsigned long long
*/
......
......@@ -52,7 +52,7 @@
#define CRLF "\015\012"
typedef unsigned long long ull;
typedef unsigned longlong ull;
struct sdp_printer_s {
int pr_size;
......
......@@ -1608,11 +1608,11 @@ soa_init_sdp_origin(soa_session_t *ss, sdp_origin_t *o, char buffer[64])
if (o->o_id == 0)
su_randmem(&o->o_id, sizeof o->o_id);
o->o_id &= 0x7fffffffffffffffULL;
o->o_id &= ((unsigned longlong)1 << 63) - 1;
if (o->o_version == 0)
su_randmem(&o->o_version, sizeof o->o_version);
o->o_version &= 0x7fffffffffffffffULL;
o->o_version &= ((unsigned longlong)1 << 63) - 1;
c = o->o_address;
......
......@@ -165,7 +165,7 @@ enum {
#define END(flags) (void) tstdef_dummy; } END_(flags)
#endif
typedef unsigned long long ull;
typedef unsigned longlong ull;
/** @HIDE */
#define TEST_1_(flags, suite) do { \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment