Update UI.c

fixed the massive number of data type warnings