projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change union value type to contain uint8_t types instead of char.
[pspp-builds.git]
/
src
/
data
/
data-in.c
diff --git
a/src/data/data-in.c
b/src/data/data-in.c
index 4666a173e7ce091d5fc185f99fdfc99dd2b9cea4..7e7d087d51dcfa1ab9811715ff7354f106081bae 100644
(file)
--- a/
src/data/data-in.c
+++ b/
src/data/data-in.c
@@
-612,7
+612,7
@@
parse_A (struct data_in *i)
{
/* This is equivalent to buf_copy_rpad, except that we posibly
do a character set recoding in the middle. */
{
/* This is equivalent to buf_copy_rpad, except that we posibly
do a character set recoding in the middle. */
-
char
*dst = value_str_rw (i->output, i->width);
+
uint8_t
*dst = value_str_rw (i->output, i->width);
size_t dst_size = i->width;
const char *src = ss_data (i->input);
size_t src_size = ss_length (i->input);
size_t dst_size = i->width;
const char *src = ss_data (i->input);
size_t src_size = ss_length (i->input);
@@
-630,7
+630,7
@@
parse_A (struct data_in *i)
static bool
parse_AHEX (struct data_in *i)
{
static bool
parse_AHEX (struct data_in *i)
{
-
char
*s = value_str_rw (i->output, i->width);
+
uint8_t
*s = value_str_rw (i->output, i->width);
size_t j;
for (j = 0; ; j++)
size_t j;
for (j = 0; ; j++)