Don't cast a tui_win_info directly to tui_gen_win_info
[deliverable/binutils-gdb.git] / gdb / tui / tui-stack.c
index 79f1f6fbbe340020c4134492e45e47d4c2064fb5..b7e7ae81dff2368c8ebce13d140dc995d63c34a2 100644 (file)
@@ -250,7 +250,7 @@ tui_show_locator_content (void)
 
   locator = tui_locator_win_info_ptr ();
 
-  if (locator != NULL && locator->handle != (WINDOW *) NULL)
+  if (locator != NULL && locator->handle != NULL)
     {
       struct tui_win_element *element;
 
@@ -414,8 +414,7 @@ tui_show_frame_info (struct frame_info *fi)
          else
            {
              if (find_pc_partial_function (get_frame_pc (fi),
-                                           (const char **) NULL,
-                                           &low, NULL) == 0)
+                                           NULL, &low, NULL) == 0)
                {
                  /* There is no symbol available for current PC.  There is no
                     safe way how to "disassemble backwards".  */
This page took 0.023658 seconds and 4 git commands to generate.