diff --git a/epicardium/modules/bsec.c b/epicardium/modules/bsec.c
index 44b96401046673f6489498a559cc62b554155967..b0ed3991a6337f2e52ab5382566651500a8de344 100644
--- a/epicardium/modules/bsec.c
+++ b/epicardium/modules/bsec.c
@@ -32,7 +32,7 @@
  */
 int64_t get_timestamp_us()
 {
-	int tick = xTaskGetTickCount();
+	int64_t tick = xTaskGetTickCount();
 	return tick * 1000;
 }