Author: jkim
Date: Wed Aug 28 17:58:30 2013
New Revision: 254997
URL: http://svnweb.freebsd.org/changeset/base/254997

Log:
  Avoid unnecessary signedness conversion.

Modified:
  head/sys/dev/fb/vesa.c

Modified: head/sys/dev/fb/vesa.c
==============================================================================
--- head/sys/dev/fb/vesa.c      Wed Aug 28 17:46:32 2013        (r254996)
+++ head/sys/dev/fb/vesa.c      Wed Aug 28 17:58:30 2013        (r254997)
@@ -83,7 +83,7 @@ static struct mtx vesa_lock;
 static int vesa_state;
 static void *vesa_state_buf;
 static uint32_t vesa_state_buf_offs;
-static ssize_t vesa_state_buf_size;
+static size_t vesa_state_buf_size;
 
 static u_char *vesa_palette;
 static uint32_t vesa_palette_offs;
@@ -207,7 +207,7 @@ static int vesa_bios_load_palette2(int s
 #define STATE_SIZE     0
 #define STATE_SAVE     1
 #define STATE_LOAD     2
-static ssize_t vesa_bios_state_buf_size(int);
+static size_t vesa_bios_state_buf_size(int);
 static int vesa_bios_save_restore(int code, void *p);
 #ifdef MODE_TABLE_BROKEN
 static int vesa_bios_get_line_length(void);
@@ -505,7 +505,7 @@ vesa_bios_load_palette2(int start, int c
        return (regs.R_AX != 0x004f);
 }
 
-static ssize_t
+static size_t
 vesa_bios_state_buf_size(int state)
 {
        x86regs_t regs;
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to