]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - ncurses/tinfo/lib_tgoto.c
ncurses 6.1 - patch 20190914
[ncurses.git] / ncurses / tinfo / lib_tgoto.c
index 31daf443624f4405709a348650a5024c41b4cdd2..292b2eb2698ca7ffae63a4ddfe9b41e4bbd52a36 100644 (file)
@@ -1,5 +1,5 @@
 /****************************************************************************
- * Copyright (c) 2000-2008,2012 Free Software Foundation, Inc.              *
+ * Copyright (c) 2000-2012,2018 Free Software Foundation, Inc.              *
  *                                                                          *
  * Permission is hereby granted, free of charge, to any person obtaining a  *
  * copy of this software and associated documentation files (the            *
@@ -35,7 +35,7 @@
 #include <ctype.h>
 #include <termcap.h>
 
-MODULE_ID("$Id: lib_tgoto.c,v 1.16 2012/02/24 02:08:08 tom Exp $")
+MODULE_ID("$Id: lib_tgoto.c,v 1.17 2018/04/07 21:11:48 tom Exp $")
 
 #if !PURE_TERMINFO
 static bool
@@ -199,6 +199,6 @@ tgoto(const char *string, int x, int y)
        result = tgoto_internal(string, x, y);
     else
 #endif
-       result = TPARM_2((NCURSES_CONST char *) string, y, x);
+       result = TPARM_2(string, y, x);
     returnPtr(result);
 }