diff options
| author | Paul Eggert | 2011-02-05 19:48:28 -0800 |
|---|---|---|
| committer | Paul Eggert | 2011-02-05 19:48:28 -0800 |
| commit | 5f742c1bf2ad7b435e7a13dc58c1c45bab81b70b (patch) | |
| tree | 01521902fe6c492a14c9ab18d3336d05d81bff4d | |
| parent | 4c83cffccec286575d36b63e0183fed480726352 (diff) | |
| download | emacs-5f742c1bf2ad7b435e7a13dc58c1c45bab81b70b.tar.gz emacs-5f742c1bf2ad7b435e7a13dc58c1c45bab81b70b.zip | |
* xfns.c: conform to C89 pointer rules
| -rw-r--r-- | src/ChangeLog | 2 | ||||
| -rw-r--r-- | src/bitmaps/gray.xbm | 2 | ||||
| -rw-r--r-- | src/xfns.c | 8 |
3 files changed, 7 insertions, 5 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 5a269965186..37fff50aca1 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -12,6 +12,8 @@ | |||
| 12 | rules about pointer type compatibility. | 12 | rules about pointer type compatibility. |
| 13 | * doc.c (get_doc_string, Fsnarf_documentation): | 13 | * doc.c (get_doc_string, Fsnarf_documentation): |
| 14 | (Fsubstitute_command_keys): Likewise. | 14 | (Fsubstitute_command_keys): Likewise. |
| 15 | * xfns.c (Fx_open_connection, Fx_window_property): Likewise. | ||
| 16 | * bitmaps/gray.xbm (gray_bits): Likewise. | ||
| 15 | 17 | ||
| 16 | 2011-02-05 Paul Eggert <eggert@cs.ucla.edu> | 18 | 2011-02-05 Paul Eggert <eggert@cs.ucla.edu> |
| 17 | 19 | ||
diff --git a/src/bitmaps/gray.xbm b/src/bitmaps/gray.xbm index d0e7a02bfac..dc7327e5c1a 100644 --- a/src/bitmaps/gray.xbm +++ b/src/bitmaps/gray.xbm | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | #define gray_width 2 | 1 | #define gray_width 2 |
| 2 | #define gray_height 2 | 2 | #define gray_height 2 |
| 3 | static unsigned char gray_bits[] = { | 3 | static char gray_bits[] = { |
| 4 | 0x01, 0x02}; | 4 | 0x01, 0x02}; |
diff --git a/src/xfns.c b/src/xfns.c index f8ac7c3f760..ce2d91e0df1 100644 --- a/src/xfns.c +++ b/src/xfns.c | |||
| @@ -4067,7 +4067,7 @@ terminate Emacs if we can't open the connection. | |||
| 4067 | \(In the Nextstep version, the last two arguments are currently ignored.) */) | 4067 | \(In the Nextstep version, the last two arguments are currently ignored.) */) |
| 4068 | (Lisp_Object display, Lisp_Object xrm_string, Lisp_Object must_succeed) | 4068 | (Lisp_Object display, Lisp_Object xrm_string, Lisp_Object must_succeed) |
| 4069 | { | 4069 | { |
| 4070 | unsigned char *xrm_option; | 4070 | char *xrm_option; |
| 4071 | struct x_display_info *dpyinfo; | 4071 | struct x_display_info *dpyinfo; |
| 4072 | 4072 | ||
| 4073 | CHECK_STRING (display); | 4073 | CHECK_STRING (display); |
| @@ -4080,9 +4080,9 @@ terminate Emacs if we can't open the connection. | |||
| 4080 | #endif | 4080 | #endif |
| 4081 | 4081 | ||
| 4082 | if (! NILP (xrm_string)) | 4082 | if (! NILP (xrm_string)) |
| 4083 | xrm_option = SDATA (xrm_string); | 4083 | xrm_option = SSDATA (xrm_string); |
| 4084 | else | 4084 | else |
| 4085 | xrm_option = (unsigned char *) 0; | 4085 | xrm_option = (char *) 0; |
| 4086 | 4086 | ||
| 4087 | validate_x_resource_name (); | 4087 | validate_x_resource_name (); |
| 4088 | 4088 | ||
| @@ -4394,7 +4394,7 @@ no value of TYPE (always string in the MS Windows case). */) | |||
| 4394 | } | 4394 | } |
| 4395 | 4395 | ||
| 4396 | if (NILP (vector_ret_p)) | 4396 | if (NILP (vector_ret_p)) |
| 4397 | prop_value = make_string (tmp_data, size); | 4397 | prop_value = make_string ((char *) tmp_data, size); |
| 4398 | else | 4398 | else |
| 4399 | prop_value = x_property_data_to_lisp (f, | 4399 | prop_value = x_property_data_to_lisp (f, |
| 4400 | tmp_data, | 4400 | tmp_data, |