Skip to content

Fix compilation warnings #27371

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from Jul 15, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Fix warning
  • Loading branch information
pilkibun committed Jul 12, 2019
commit 331844da48e9f3b27567e6fb96d08e350fe4f52c
2 changes: 2 additions & 0 deletions pandas/_libs/tslibs/c_timestamp.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,8 @@ cdef class _Timestamp(datetime):
nanos = (other.days * 24 * 60 * 60 * 1000000 +
other.seconds * 1000000 +
other.microseconds) * 1000
else:
nanos = 0

result = self.__class__(self.value + nanos,
tz=self.tzinfo, freq=self.freq)
Expand Down