From c003eccb1e714f6c69843cf4ff1918cd49b8e1ff Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Tue, 20 Jun 2017 14:56:55 +1000 Subject: [PATCH] hidpp10: fix a comment, dpi_table is not null-terminated Signed-off-by: Peter Hutterer --- src/hidpp10.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hidpp10.h b/src/hidpp10.h index 0a0fbf84..e20a4b75 100644 --- a/src/hidpp10.h +++ b/src/hidpp10.h @@ -58,7 +58,7 @@ struct hidpp10_device { struct hidpp_device base; unsigned index; uint8_t dpi_count; - struct hidpp10_dpi_mapping *dpi_table; /* must be null terminated */ + struct hidpp10_dpi_mapping *dpi_table; struct hidpp10_directory *profile_directory; /* must be null terminated */ enum hidpp10_profile_type profile_type; struct hidpp10_profile *profiles;