Skip to content

Conversation

@ghost
Copy link

@ghost ghost commented Dec 28, 2023

Changes

  1. Fixes the warning below (introduced after #3678):
rtext.c: In function ‘TextReplace’:
rtext.c:1537:17: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
 1537 |     insertPoint = text;
      |                 ^
  1. Does that by adding a cast to insertPoint = (char*)text; (R1537).

Edits:

  • 1. added line marks.

@raysan5 raysan5 merged commit 5b5a2d0 into raysan5:master Dec 28, 2023
@raysan5
Copy link
Owner

raysan5 commented Dec 28, 2023

@ubkp thanks for the review!

@ghost ghost deleted the fix/rtext-warning branch December 28, 2023 22:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant