Revision 60fe76f3 vl.c

b/vl.c
2876 2876
typedef struct {
2877 2877
    int fd;
2878 2878
    struct sockaddr_in daddr;
2879
    char buf[1024];
2879
    uint8_t buf[1024];
2880 2880
    int bufcnt;
2881 2881
    int bufptr;
2882 2882
    int max_size;
......
3034 3034
#define IAC_BREAK 243
3035 3035
static void tcp_chr_process_IAC_bytes(CharDriverState *chr,
3036 3036
                                      TCPCharDriver *s,
3037
                                      char *buf, int *size)
3037
                                      uint8_t *buf, int *size)
3038 3038
{
3039 3039
    /* Handle any telnet client's basic IAC options to satisfy char by
3040 3040
     * char mode with no echo.  All IAC options will be removed from
......
8266 8266
                /* We just do some generic consistency checks */
8267 8267
                {
8268 8268
                    /* Could easily be extended to 64 devices if needed */
8269
                    const unsigned char *p;
8269
                    const char *p;
8270 8270
                    
8271 8271
                    boot_devices_bitmap = 0;
8272 8272
                    for (p = boot_devices; *p != '\0'; p++) {

Also available in: Unified diff