Issue #2956930 by mikran, MegaChriz: Fixed assert() warning: Calling assert() with a string argument is deprecated.