diff --git a/mz_compat.c b/mz_compat.c index 6fc5a0d7..872dab8f 100644 --- a/mz_compat.c +++ b/mz_compat.c @@ -463,7 +463,7 @@ int zipOpenNewFileInZip5(zipFile file, const char *filename, const zip_fileinfo if (!compat) return ZIP_PARAMERROR; - // The filename and comment length must fit in 16 bits. + /* The filename and comment length must fit in 16 bits. */ if (filename && strlen(filename) > 0xffff) return ZIP_PARAMERROR; if (comment && strlen(comment) > 0xffff) diff --git a/mz_os_win32.c b/mz_os_win32.c index 2010d983..808749b5 100644 --- a/mz_os_win32.c +++ b/mz_os_win32.c @@ -492,7 +492,7 @@ int32_t mz_os_make_symlink(const char *path, const char *target_path) { if (!path) return MZ_PARAM_ERROR; - // Use VirtualQuery instead of GetModuleHandleW for UWP + /* Use VirtualQuery instead of GetModuleHandleW for UWP */ memset(&mbi, 0, sizeof(mbi)); VirtualQuery(VirtualQuery, &mbi, sizeof(mbi)); kernel32_mod = (HMODULE)mbi.AllocationBase; diff --git a/mz_zip.c b/mz_zip.c index 758f4975..019fcbf2 100644 --- a/mz_zip.c +++ b/mz_zip.c @@ -1114,7 +1114,7 @@ static int32_t mz_zip_write_cd(void *handle) { zip->disk_number_with_cd += 1; mz_stream_set_prop_int64(zip->stream, MZ_STREAM_PROP_DISK_NUMBER, -1); if ((zip->disk_number_with_cd > 0) && (zip->open_mode & MZ_OPEN_MODE_APPEND)) { - // Overwrite existing central directory if using split disks + /* Overwrite existing central directory if using split disks */ mz_stream_seek(zip->stream, 0, MZ_SEEK_SET); } @@ -1129,7 +1129,7 @@ static int32_t mz_zip_write_cd(void *handle) { zip->disk_number_with_cd, zip->number_entry, zip->cd_offset, zip->cd_size); if (zip->cd_size == 0 && zip->number_entry > 0) { - // Zip does not contain central directory, open with recovery option + /* Zip does not contain central directory, open with recovery option */ return MZ_FORMAT_ERROR; }