aboutsummaryrefslogtreecommitdiff
path: root/lib/microtar/src
diff options
context:
space:
mode:
authorAdam Harrison <adamdharrison@gmail.com>2024-02-25 18:23:21 -0500
committerAdam Harrison <adamdharrison@gmail.com>2024-02-25 18:23:21 -0500
commit0cb1baaf5054e03b93fadb02ef3411dffe9ca2e9 (patch)
tree665b807b44c8513c66e61bd9410c82e52f7780e8 /lib/microtar/src
parenta2e6b6b52593bd02e0de53580206fb6942643bda (diff)
downloadlite-xl-plugin-manager-0cb1baaf5054e03b93fadb02ef3411dffe9ca2e9.tar.gz
lite-xl-plugin-manager-0cb1baaf5054e03b93fadb02ef3411dffe9ca2e9.zip
Changed bzero to memset, in order to eliminate warnings on windows.
Diffstat (limited to 'lib/microtar/src')
-rw-r--r--lib/microtar/src/microtar.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/microtar/src/microtar.c b/lib/microtar/src/microtar.c
index 20c509d..6130a49 100644
--- a/lib/microtar/src/microtar.c
+++ b/lib/microtar/src/microtar.c
@@ -338,8 +338,8 @@ int mtar_clear_header(mtar_header_t *h){
h->mtime = 0;
h->type = 0;
- bzero(h->name, sizeof(h->name));
- bzero(h->linkname, sizeof(h->linkname));
+ memset(h->name, 0, sizeof(h->name));
+ memset(h->linkname, 0, sizeof(h->linkname));
return MTAR_ESUCCESS;
}