Skip to content

Commit 7b7596c

Browse files
committed
PHPC-741: Fix variable reference in UTCDateTime init on Windows
1 parent e33304d commit 7b7596c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/BSON/UTCDateTime.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ static bool php_phongo_utcdatetime_init_from_string(php_phongo_utcdatetime_t *in
7171
errno = 0;
7272

7373
#if defined(PHP_WIN32)
74-
milliseconds = _atoi64(s);
74+
milliseconds = _atoi64(s_milliseconds);
7575
#else
7676
milliseconds = bson_ascii_strtoll(s_milliseconds, &endptr, 10);
7777
#endif

0 commit comments

Comments
 (0)