aboutsummaryrefslogtreecommitdiff
path: root/jerry-core/api/jerry-snapshot.c
diff options
context:
space:
mode:
Diffstat (limited to 'jerry-core/api/jerry-snapshot.c')
-rw-r--r--jerry-core/api/jerry-snapshot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/jerry-core/api/jerry-snapshot.c b/jerry-core/api/jerry-snapshot.c
index fde32cfb..7f969bfd 100644
--- a/jerry-core/api/jerry-snapshot.c
+++ b/jerry-core/api/jerry-snapshot.c
@@ -1705,7 +1705,7 @@ jerry_parse_and_save_literals (const jerry_char_t *source_p, /**< script source
/* Save the array of literals. */
destination_p = jerry_append_chars_to_buffer (destination_p,
buffer_end_p,
- ";\n\njerry_char_ptr_t literals[",
+ ";\n\njerry_char_t *literals[",
0);
destination_p = jerry_append_number_to_buffer (destination_p, buffer_end_p, literal_count);