mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Jul 2006
Posts: 4,150
W
Wims Offline OP
Hoopy frood
OP Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,150
The 'log file' tool displays negative file size for file bigger than what an unsigned int can contain (~2GB), mIRC should probably use a signed int there!


#mircscripting @ irc.swiftirc.net == the best mIRC help channel
Joined: Sep 2011
Posts: 32
F
Ameglian cow
Offline
Ameglian cow
F
Joined: Sep 2011
Posts: 32
Your description is kind of backwards from the norm; usually, the UINT can handle larger values than the SINT; the fact that you cite the tool as showing 'negative values' suggests that it is currently a SINT, and should be a UINT - or maybe even a ULONG; ISTR that the current incarnation of NTFS can handle file sizes that reach into the terabyte range (and maybe should be called 'terror-bytes').

Joined: Jul 2006
Posts: 4,150
W
Wims Offline OP
Hoopy frood
OP Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,150
It is, I did mean to use an unsigned int instead of a signed one!


#mircscripting @ irc.swiftirc.net == the best mIRC help channel
Joined: Dec 2002
Posts: 5,424
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 5,424
Thanks for your bug report. This issue has been fixed for the next version.


Link Copied to Clipboard