diff options
author | Adam Harrison <adamdharrison@gmail.com> | 2024-02-25 18:23:21 -0500 |
---|---|---|
committer | Adam Harrison <adamdharrison@gmail.com> | 2024-02-25 18:23:21 -0500 |
commit | 0cb1baaf5054e03b93fadb02ef3411dffe9ca2e9 (patch) | |
tree | 665b807b44c8513c66e61bd9410c82e52f7780e8 /src | |
parent | a2e6b6b52593bd02e0de53580206fb6942643bda (diff) | |
download | lite-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 'src')
-rw-r--r-- | src/lpm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -918,7 +918,7 @@ static int lpm_extract(lua_State* L) { if (current_read[strlen(last_read) + read_size - 1] != '\n') strcpy(last_read, strtok_r(current_read, "\n", l_line_ptr)); else - bzero(last_read, strlen(last_read)); + memset(last_read, 0, strlen(last_read)); } } |