Mercurial > pidgin
comparison src/protocols/msn/directconn.c @ 10112:1a91e814e9d8
[gaim-migrate @ 11145]
it looks like the rest of this was 64-bit stuff too
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Mon, 18 Oct 2004 05:40:02 +0000 |
parents | ab6636c5a136 |
children | 088633feb846 |
comparison
equal
deleted
inserted
replaced
10111:8490f2e292a6 | 10112:1a91e814e9d8 |
---|---|
50 guint16 t2; | 50 guint16 t2; |
51 guint16 t3; | 51 guint16 t3; |
52 guint16 t4; | 52 guint16 t4; |
53 guint64 t5; | 53 guint64 t5; |
54 | 54 |
55 sscanf (directconn->nonce, "%08X-%04hX-%04hX-%04hX-%012llX", &t1, &t2, &t3, &t4, &t5); | 55 sscanf (directconn->nonce, "%08X-%04hX-%04hX-%04hX-%012" G_GINT64_MODIFIER "X", &t1, &t2, &t3, &t4, &t5); |
56 | 56 |
57 t1 = GUINT32_TO_LE(t1); | 57 t1 = GUINT32_TO_LE(t1); |
58 t2 = GUINT16_TO_LE(t2); | 58 t2 = GUINT16_TO_LE(t2); |
59 t3 = GUINT16_TO_LE(t3); | 59 t3 = GUINT16_TO_LE(t3); |
60 t4 = GUINT16_TO_BE(t4); | 60 t4 = GUINT16_TO_BE(t4); |