History

TimeSeriesPlatformLibrary: Updated uint64_t literal suffixes for consistency.

J. Ritchie Carroll committed 7 years ago

Commit 11034281 parent c1c518a4 files · +12 −12Browse files

Unified · Split

4 files
  1. Source/Libraries/TimeSeriesPlatformLibrary/Common/Convert.h +1 −1
  2. Source/Libraries/TimeSeriesPlatformLibrary/Transport/DataPublisher.cpp +3 −3
  3. Source/Libraries/TimeSeriesPlatformLibrary/Transport/TSSCDecoder.cpp +4 −4
  4. Source/Libraries/TimeSeriesPlatformLibrary/Transport/TSSCEncoder.cpp +4 −4
Source/Libraries/TimeSeriesPlatformLibrary/Common/Convert.h+1−1
@@ -79,7 +79,7 @@ namespace GSF · 78 unmodified lines
7979
8080 bool TryParseInt32(const std::string& value, int32_t& result, int32_t defaultValue = 0);
8181
82− bool TryParseInt64(const std::string& value, int64_t& result, int64_t defaultValue = 0L);
82+ bool TryParseInt64(const std::string& value, int64_t& result, int64_t defaultValue = 0LL);
8383
8484 bool TryParseDouble(const std::string& value, float64_t& result, float64_t defaultValue = 0.0);
8585
Source/Libraries/TimeSeriesPlatformLibrary/Transport/DataPublisher.cpp+3−3
@@ -859,7 +859,7 @@ void DataPublisher::SetUserData(void* userData) · 858 unmodified lines
859859
860860 uint64_t DataPublisher::GetTotalCommandChannelBytesSent()
861861 {
862− uint64_t totalCommandChannelBytesSent = 0L;
862+ uint64_t totalCommandChannelBytesSent = 0LL;
863863
864864 ReaderLock readLock(m_subscriberConnectionsLock);
865865
@@ -871,7 +871,7 @@ uint64_t DataPublisher::GetTotalCommandChannelBytesSent() · 5 unmodified lines
871871
872872 uint64_t DataPublisher::GetTotalDataChannelBytesSent()
873873 {
874− uint64_t totalDataChannelBytesSent = 0L;
874+ uint64_t totalDataChannelBytesSent = 0LL;
875875
876876 ReaderLock readLock(m_subscriberConnectionsLock);
877877
@@ -883,7 +883,7 @@ uint64_t DataPublisher::GetTotalDataChannelBytesSent() · 5 unmodified lines
883883
884884 uint64_t DataPublisher::GetTotalMeasurementsSent()
885885 {
886− uint64_t totalMeasurementsSent = 0L;
886+ uint64_t totalMeasurementsSent = 0LL;
887887
888888 ReaderLock readLock(m_subscriberConnectionsLock);
889889
Source/Libraries/TimeSeriesPlatformLibrary/Transport/TSSCDecoder.cpp+4−4
@@ -36,8 +36,8 @@ TSSCDecoder::TSSCDecoder() : · 35 unmodified lines
3636 m_data(nullptr),
3737 m_position(0),
3838 m_lastPosition(0),
39− m_prevTimestamp1(0L),
40− m_prevTimestamp2(0L),
39+ m_prevTimestamp1(0LL),
40+ m_prevTimestamp2(0LL),
4141 m_prevTimeDelta1(Int64::MaxValue),
4242 m_prevTimeDelta2(Int64::MaxValue),
4343 m_prevTimeDelta3(Int64::MaxValue),
@@ -60,8 +60,8 @@ void TSSCDecoder::Reset() · 16 unmodified lines
6060 m_prevTimeDelta2 = Int64::MaxValue;
6161 m_prevTimeDelta3 = Int64::MaxValue;
6262 m_prevTimeDelta4 = Int64::MaxValue;
63− m_prevTimestamp1 = 0L;
64− m_prevTimestamp2 = 0L;
63+ m_prevTimestamp1 = 0LL;
64+ m_prevTimestamp2 = 0LL;
6565 }
6666
6767 TSSCPointMetadataPtr TSSCDecoder::NewTSSCPointMetadata()
Source/Libraries/TimeSeriesPlatformLibrary/Transport/TSSCEncoder.cpp+4−4
@@ -36,8 +36,8 @@ TSSCEncoder::TSSCEncoder() : · 35 unmodified lines
3636 m_data(nullptr),
3737 m_position(0),
3838 m_lastPosition(0),
39− m_prevTimestamp1(0L),
40− m_prevTimestamp2(0L),
39+ m_prevTimestamp1(0LL),
40+ m_prevTimestamp2(0LL),
4141 m_prevTimeDelta1(Int64::MaxValue),
4242 m_prevTimeDelta2(Int64::MaxValue),
4343 m_prevTimeDelta3(Int64::MaxValue),
@@ -61,8 +61,8 @@ void TSSCEncoder::Reset() · 17 unmodified lines
6161 m_prevTimeDelta2 = Int64::MaxValue;
6262 m_prevTimeDelta3 = Int64::MaxValue;
6363 m_prevTimeDelta4 = Int64::MaxValue;
64− m_prevTimestamp1 = 0L;
65− m_prevTimestamp2 = 0L;
64+ m_prevTimestamp1 = 0LL;
65+ m_prevTimestamp2 = 0LL;
6666 }
6767
6868 void TSSCEncoder::SetBuffer(uint8_t* data, uint32_t offset, uint32_t length)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t