Skip to content

Commit e962246

Browse files
committed
Fix compiler warning.
1 parent 342989b commit e962246

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cm108.c

+2-1
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,8 @@ struct thing_s {
234234
int pid; // product id
235235
char product[32]; // product name (e.g. manufacturer, model)
236236
char devnode_sound[22]; // e.g. /dev/snd/pcmC0D0p
237-
char plughw[15]; // Above in more familiar format e.g. plughw:0,0
237+
char plughw[72]; // Above in more familiar format e.g. plughw:0,0
238+
// Oversized to silence a compiler warning.
238239
char devnode_hidraw[17]; // e.g. /dev/hidraw3
239240
char devnode_usb[25]; // e.g. /dev/bus/usb/001/012
240241
};

0 commit comments

Comments
 (0)