Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change 'g_memmove' to 'memmove' #33

Merged
merged 1 commit into from
May 12, 2022
Merged

Conversation

stevenengler
Copy link
Contributor

To remove the following warnings:

tgen/src/tgen-stream.c:424:13: warning: Deprecated pre-processor symbol, replace with
  424 |         g_memmove(buffer, stream->recv.buffer->str, amount);

http://man.hubwiz.com/docset/GLib.docset/Contents/Resources/Documents/glib-Memory-Allocation.html#g-memmove:

g_memmove has been deprecated since version 2.40 and should not be used in newly-written code.
Just use memmove().

@stevenengler stevenengler self-assigned this May 12, 2022
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.

2 participants