projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gui: Use g_memdup2() instead of deprecated g_memdup().
[pspp]
/
src
/
ui
/
gui
/
psppire-format.c
diff --git
a/src/ui/gui/psppire-format.c
b/src/ui/gui/psppire-format.c
index c44684050fc534232a0a6ee9c3d4f3b7c593c870..392ac73b2d19e2440817464207f2c82a42676573 100644
(file)
--- a/
src/ui/gui/psppire-format.c
+++ b/
src/ui/gui/psppire-format.c
@@
-21,7
+21,7
@@
static gpointer
psppire_format_copy (gpointer boxed)
{
struct fmt_spec *format = boxed;
- return g_memdup (format, sizeof *format);
+ return g_memdup
2
(format, sizeof *format);
}
static void