Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
d9d592dd
Commit
d9d592dd
authored
Apr 23, 2019
by
Philipp Stephani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* src/json.c (json_make_string): Add missing cast.
parent
db2c9308
Pipeline
#1422
passed with stage
in 50 minutes and 29 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/json.c
src/json.c
+1
-1
No files found.
src/json.c
View file @
d9d592dd
...
...
@@ -237,7 +237,7 @@ json_make_string (const char *data, ptrdiff_t size)
struct
coding_system
coding
;
setup_coding_system
(
Qutf_8_unix
,
&
coding
);
coding
.
mode
|=
CODING_MODE_LAST_BLOCK
;
coding
.
source
=
data
;
coding
.
source
=
(
const
unsigned
char
*
)
data
;
decode_coding_object
(
&
coding
,
Qnil
,
0
,
0
,
size
,
size
,
Qt
);
return
coding
.
dst_object
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment