Commit 7f781625 authored by Matthias Braun's avatar Matthias Braun
Browse files

fix warnings

[r15772]
parent 13f415de
...@@ -127,12 +127,12 @@ ull_t conv_d_ull(double a) { ...@@ -127,12 +127,12 @@ ull_t conv_d_ull(double a) {
int main(void) { int main(void) {
ll_t a = 0xff; ll_t a = 0xff;
ll_t b = 0x123456789; ll_t b = 0x123456789LL;
ll_t c = 0x8001023000002460LL; ll_t c = 0x8001023000002460LL;
double d = (double)c; double d = (double)c;
ull_t ua = 0xff; ull_t ua = 0xff;
ull_t ub = 0x123456789; ull_t ub = 0x123456789ULL;
ull_t uc = 0x8001023000002460ULL; ull_t uc = 0x8001023000002460ULL;
printf("%lld * %lld = %lld\n", a, b, mul_ll(a, b)); printf("%lld * %lld = %lld\n", a, b, mul_ll(a, b));
......
Supports Markdown
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