[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pspp-cvs] Changes to pspp/src/missing-values.c
From: |
Ben Pfaff |
Subject: |
[Pspp-cvs] Changes to pspp/src/missing-values.c |
Date: |
Tue, 25 Oct 2005 00:28:19 -0400 |
Index: pspp/src/missing-values.c
diff -u pspp/src/missing-values.c:1.1 pspp/src/missing-values.c:1.2
--- pspp/src/missing-values.c:1.1 Sun Aug 7 04:39:28 2005
+++ pspp/src/missing-values.c Tue Oct 25 04:28:17 2005
@@ -89,7 +89,7 @@
missing values. (Long string variables never accept missing
values.) */
bool
-mv_add_str (struct missing_values *mv, const unsigned char s[])
+mv_add_str (struct missing_values *mv, const char s[])
{
assert (mv->width > 0);
return mv_add_value (mv, (union value *) s);
@@ -223,7 +223,7 @@
NEW_WIDTH (inclusive) and OLD_WIDTH (exclusive),
false otherwise. */
static bool
-can_resize_string (const unsigned char *s, int old_width, int new_width)
+can_resize_string (const char *s, int old_width, int new_width)
{
int i;
@@ -302,8 +302,7 @@
MV must be a set of string missing values.
S[] must contain exactly as many characters as MV's width. */
bool
-mv_is_str_missing (const struct missing_values *mv,
- const unsigned char s[])
+mv_is_str_missing (const struct missing_values *mv, const char s[])
{
return mv_is_str_user_missing (mv, s);
}
@@ -348,7 +347,7 @@
S[] must contain exactly as many characters as MV's width. */
bool
mv_is_str_user_missing (const struct missing_values *mv,
- const unsigned char s[])
+ const char s[])
{
const union value *v = mv->values;
assert (mv->width > 0);
- [Pspp-cvs] Changes to pspp/src/missing-values.c,
Ben Pfaff <=