]> granicus.if.org Git - curl/commit
SMB: fix numeric constant suffix and variable types
authorDaniel Stenberg <daniel@haxx.se>
Mon, 15 Jan 2018 19:43:34 +0000 (20:43 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 16 Jan 2018 21:21:59 +0000 (22:21 +0100)
commit25c40c9af97782c9d475e765d50eaac071fd7d91
tree88b7dcaadc303bdd39362f9a60ba0f0c931ed9ac
parent945df74101140a336699f1de6616302d49ca7be8
SMB: fix numeric constant suffix and variable types

1. don't use "ULL" suffix since unsupported in older MSVC
2. use curl_off_t instead of custom long long ifdefs
3. make get_posix_time() not do unaligned data access

Fixes #2211
Closes #2240
Reported-by: Chester Liu
lib/smb.c
lib/smb.h