compressed files

Pages: 12
look at 7th post of this topic please

How about you start a new topic?

That said, constant integers without suffix markings are by default of type int (which is the same as long int on a 32-bit machine).

So try this?
return (lutime_t)((i-(116444736000000000ULL)/10000000ULL);

Caveat: ULL comes from unsigned long long, which comes from C99 (the C language) and is not "officially" available in C++98 and C++03.
If you use a modern compiler, it should be recognized. Otherwise make sure your compiler is C++11 -compliant.
The compiler should automatically pick a literal type that is big enough to represent the value. Are you using a compiler that doesn't have long long?
I'm using the latest c::B , set the default compiler to mingw gcc.
I'll try that code as soon as i go home.

thanks everyone
Topic archived. No new replies allowed.
Pages: 12