aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2020-10-10 14:53:23 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2020-10-10 14:53:23 -0400
commit961e07b8ccb56cb3979185b066b503b3d4f7c036 (patch)
treefb4c77299a3042fd045fcd8346fe0b286e9e5817
parentc94cfb38c32a68ef9b021a6851fff25f9ecdf297 (diff)
downloadpostgresql-961e07b8ccb56cb3979185b066b503b3d4f7c036.tar.gz
postgresql-961e07b8ccb56cb3979185b066b503b3d4f7c036.zip
Minor cleanup for win32stat.c.
Fix silly typo in previous commit. Discussion: https://postgr.es/m/CAC+AXB0g44SbvSpC86o_1HWh8TAU2pZrMRW6tJT-dkijotx5Qg@mail.gmail.com
-rw-r--r--src/port/win32stat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/port/win32stat.c b/src/port/win32stat.c
index c111f0ef353..d4315c44f4d 100644
--- a/src/port/win32stat.c
+++ b/src/port/win32stat.c
@@ -148,7 +148,7 @@ fileinfo_to_stat(HANDLE hFile, struct stat *buf)
buf->st_nlink = fiData.nNumberOfLinks;
buf->st_size = ((((uint64) fiData.nFileSizeHigh) << 32) |
- fiData.nFileSizeLowi);
+ fiData.nFileSizeLow);
return 0;
}