Skip to content

Commit

Permalink
Merge pull request #249 from sahargavriely/main
Browse files Browse the repository at this point in the history
Support 32bit system
  • Loading branch information
Erotemic authored Nov 2, 2023
2 parents d1d1398 + 49be615 commit 075b5c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion line_profiler/timers.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ hpTimer(void)
struct timespec ts;
PY_LONG_LONG ret;
clock_gettime(CLOCK_MONOTONIC, &ts);
ret = ts.tv_sec * 1000000000 + ts.tv_nsec;
ret = (PY_LONG_LONG)ts.tv_sec * 1000000000 + (PY_LONG_LONG)ts.tv_nsec;
return ret;
}

Expand Down

0 comments on commit 075b5c4

Please sign in to comment.