mixer_dc (DC_TEXT);
sprintf (string, "%s", mixer_card_name);
max_len = mixer_max_x - 2 - 6 - 2;
- if (strlen (string) > max_len)
+ if ((int)strlen (string) > max_len)
string[max_len] = 0;
addstr (string);
mixer_dc (DC_TEXT);
sprintf (string, "%s", mixer_device_name);
max_len = mixer_max_x - 2 - 6 - 2;
- if (strlen (string) > max_len)
+ if ((int)strlen (string) > max_len)
string[max_len] = 0;
addstr (string);
float hoffs, voffs;
char *p, *text_offs = text;
int x1, x2, y1, y2;
- int i, n, l, r, block, stipple;
+ int i, n, l, r;
+ unsigned long block, stipple;
/* coords
*/
if (*str == '\'' || *str == '\"') {
c = *str++;
while (*str && *str != c) {
- if (size < sizeof(buf)) {
+ if (size < (int)sizeof(buf)) {
*ptr++ = *str;
size++;
}
str++;
} else {
while (*str && *str != ',') {
- if (size < sizeof(buf)) {
+ if (size < (int)sizeof(buf)) {
*ptr++ = *str;
size++;
}
size = 1; /* for '\0' */
if (*str != '"' && *str != '\'') {
while (*str && *str != ',') {
- if (size < sizeof(buf)) {
+ if (size < (int)sizeof(buf)) {
*ptr++ = *str;
size++;
}
} else {
c = *str++;
while (*str && *str != c) {
- if (size < sizeof(buf)) {
+ if (size < (int)sizeof(buf)) {
*ptr++ = *str;
size++;
}