This PR fixes multiple errors in the Vivaldi Plus codebase. The errors include function overloading, function redefinition, undeclared identifiers, narrowing conversion, and signed/unsigned mismatch. The changes made in this PR address these errors and ensure the smooth operation of the Vivaldi Plus browser modification.
Summary of Changes
Modified the return type of the function 'ReplaceStringInPlace' in 'src/utils.h' to 'bool' to indicate the success of the replacement operation.
Removed the redefinition of the function 'ReplaceStringInPlace' in 'src/utils.h' as it was already defined.
Declared the variable 'user_data_path' before its usage in 'src/portable.h'.
Modified the conversion from 'const char' to 'mz_uint8' in 'src/mini_gzip/miniz.c' to avoid narrowing conversion.
Modified the comparison operation in 'src/mini_gzip/mini_gzip.c' to avoid signed/unsigned mismatch.
Corrected the function calls to 'ReplaceStringInPlace' in 'src/PakPatch.h' to include the required arguments.
These changes address the reported errors and ensure the proper functioning of the Vivaldi Plus browser modification.
Fixes #17.
🎉 Latest improvements to Sweep:
Sweep can now passively improve your repository! Check out Rules to learn more.
💡 To get Sweep to edit this pull request, you can:
Comment below, and Sweep can edit the entire PR
Comment on a file, Sweep will only modify the commented file
Edit the original issue to get Sweep to recreate the PR from scratch
PR Feedback: 👎
Description
This PR fixes multiple errors in the Vivaldi Plus codebase. The errors include function overloading, function redefinition, undeclared identifiers, narrowing conversion, and signed/unsigned mismatch. The changes made in this PR address these errors and ensure the smooth operation of the Vivaldi Plus browser modification.
Summary of Changes
These changes address the reported errors and ensure the proper functioning of the Vivaldi Plus browser modification.
Fixes #17.
🎉 Latest improvements to Sweep:
💡 To get Sweep to edit this pull request, you can: