aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui/tui-file.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/tui/tui-file.c')
-rw-r--r--gdb/tui/tui-file.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/gdb/tui/tui-file.c b/gdb/tui/tui-file.c
index 1aa0a61..cf853b8 100644
--- a/gdb/tui/tui-file.c
+++ b/gdb/tui/tui-file.c
@@ -71,7 +71,7 @@ tui_file_new (void)
static void
tui_file_delete (struct ui_file *file)
{
- struct tui_stream *tmpstream = ui_file_data (file);
+ struct tui_stream *tmpstream = (struct tui_stream *) ui_file_data (file);
if (tmpstream->ts_magic != &tui_file_magic)
internal_error (__FILE__, __LINE__,
@@ -88,7 +88,7 @@ struct ui_file *
tui_fileopen (FILE *stream)
{
struct ui_file *file = tui_file_new ();
- struct tui_stream *tmpstream = ui_file_data (file);
+ struct tui_stream *tmpstream = (struct tui_stream *) ui_file_data (file);
tmpstream->ts_streamtype = afile;
tmpstream->ts_filestream = stream;
@@ -101,7 +101,7 @@ struct ui_file *
tui_sfileopen (int n)
{
struct ui_file *file = tui_file_new ();
- struct tui_stream *tmpstream = ui_file_data (file);
+ struct tui_stream *tmpstream = (struct tui_stream *) ui_file_data (file);
tmpstream->ts_streamtype = astring;
tmpstream->ts_filestream = NULL;
@@ -121,7 +121,7 @@ tui_sfileopen (int n)
static int
tui_file_isatty (struct ui_file *file)
{
- struct tui_stream *stream = ui_file_data (file);
+ struct tui_stream *stream = (struct tui_stream *) ui_file_data (file);
if (stream->ts_magic != &tui_file_magic)
internal_error (__FILE__, __LINE__,
@@ -135,7 +135,7 @@ tui_file_isatty (struct ui_file *file)
static void
tui_file_rewind (struct ui_file *file)
{
- struct tui_stream *stream = ui_file_data (file);
+ struct tui_stream *stream = (struct tui_stream *) ui_file_data (file);
if (stream->ts_magic != &tui_file_magic)
internal_error (__FILE__, __LINE__,
@@ -148,7 +148,7 @@ tui_file_put (struct ui_file *file,
ui_file_put_method_ftype *write,
void *dest)
{
- struct tui_stream *stream = ui_file_data (file);
+ struct tui_stream *stream = (struct tui_stream *) ui_file_data (file);
if (stream->ts_magic != &tui_file_magic)
internal_error (__FILE__, __LINE__,
@@ -169,7 +169,7 @@ tui_file_put (struct ui_file *file,
void
tui_file_fputs (const char *linebuffer, struct ui_file *file)
{
- struct tui_stream *stream = ui_file_data (file);
+ struct tui_stream *stream = (struct tui_stream *) ui_file_data (file);
if (stream->ts_streamtype == astring)
{
@@ -189,7 +189,7 @@ tui_file_fputs (const char *linebuffer, struct ui_file *file)
char *
tui_file_get_strbuf (struct ui_file *file)
{
- struct tui_stream *stream = ui_file_data (file);
+ struct tui_stream *stream = (struct tui_stream *) ui_file_data (file);
if (stream->ts_magic != &tui_file_magic)
internal_error (__FILE__, __LINE__,
@@ -203,7 +203,7 @@ tui_file_get_strbuf (struct ui_file *file)
void
tui_file_adjust_strbuf (int n, struct ui_file *file)
{
- struct tui_stream *stream = ui_file_data (file);
+ struct tui_stream *stream = (struct tui_stream *) ui_file_data (file);
int non_null_chars;
if (stream->ts_magic != &tui_file_magic)
@@ -233,7 +233,7 @@ tui_file_adjust_strbuf (int n, struct ui_file *file)
static void
tui_file_flush (struct ui_file *file)
{
- struct tui_stream *stream = ui_file_data (file);
+ struct tui_stream *stream = (struct tui_stream *) ui_file_data (file);
if (stream->ts_magic != &tui_file_magic)
internal_error (__FILE__, __LINE__,