* Bug fixes: Fix numerous char array size mismatches, signed/unsigned
[citadel.git] / citadel / serv_upgrade.c
index 01e0e53f5058722eb587dabbe1c3e47ffde675fe..0f2686da319796281565920e51b82f2a872d963a 100644 (file)
@@ -83,13 +83,13 @@ void do_pre555_usersupp_upgrade(void) {
                newus.flags = usbuf.flags;
                newus.timescalled = (long) usbuf.timescalled;
                newus.posted = (long) usbuf.posted;
-               newus.axlevel = (CIT_UBYTE) usbuf.axlevel;
+               newus.axlevel = (cit_uint8_t) usbuf.axlevel;
                newus.usernum = (long) usbuf.usernum;
                newus.lastcall = (long) usbuf.lastcall;
                newus.USuserpurge = (int) usbuf.USuserpurge;
                strcpy(newus.fullname, usbuf.fullname);
-               newus.USscreenwidth = (CIT_UBYTE) usbuf.USscreenwidth;
-               newus.USscreenheight = (CIT_UBYTE) usbuf.USscreenheight;
+               newus.USscreenwidth = (cit_uint8_t) usbuf.USscreenwidth;
+               newus.USscreenheight = (cit_uint8_t) usbuf.USscreenheight;
 
                putuser(&newus);