Skip to content

Commit bef382c

Browse files
committed
Fix wrong type for duration in heartbeat events
1 parent 1a42e43 commit bef382c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/phongo_structs.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ typedef struct {
341341

342342
typedef struct {
343343
bool awaited;
344-
uint64_t duration_micros;
344+
int64_t duration_micros;
345345
zval z_error;
346346
mongoc_host_list_t host;
347347
zend_object std;
@@ -355,7 +355,7 @@ typedef struct {
355355

356356
typedef struct {
357357
bool awaited;
358-
uint64_t duration_micros;
358+
int64_t duration_micros;
359359
mongoc_host_list_t host;
360360
bson_t* reply;
361361
zend_object std;

0 commit comments

Comments
 (0)