mirror of
https://github.com/zeek/zeek.git
synced 2025-10-07 00:58:19 +00:00
Portability fixes.
- Fix for time-as-int on 32-bit systems. - Skipping ds2txt's index output for test diffing, as it seems non-portable.
This commit is contained in:
parent
be6567f437
commit
99db264775
12 changed files with 13 additions and 137 deletions
|
@ -61,7 +61,7 @@ std::string DataSeries::LogValueToString(threading::Value *val)
|
|||
if ( ds_use_integer_for_time )
|
||||
{
|
||||
std::ostringstream ostr;
|
||||
ostr << (unsigned long)(DataSeries::TIME_SCALE * val->val.double_val);
|
||||
ostr << (uint64_t)(DataSeries::TIME_SCALE * val->val.double_val);
|
||||
return ostr.str();
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue