Skip to content

Commit

Permalink
remove const
Browse files Browse the repository at this point in the history
  • Loading branch information
egecetin committed Jan 4, 2025
1 parent 90cf3f0 commit 69520ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Packet++/src/NtpLayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,7 @@ namespace pcpp
double const fractionPart = modf(timestamp, &integerPart);

struct tm* timer = nullptr;
time_t const timeStruct = integerPart;
time_t timeStruct = integerPart;
#if defined(_WIN32)
if (timeStruct < 0)
timeStruct = 0;
Expand Down

0 comments on commit 69520ce

Please sign in to comment.