[libdmapsharing] Fix compiler warning about service_type_name Signed-off-by: W. Michael Petullo <mike flyn org>



commit 46f314d271adce7cfd480d6b9771723a18312f32
Author: W. Michael Petullo <mike flyn org>
Date:   Tue Apr 5 15:06:10 2011 -0500

    Fix compiler warning about service_type_name
    Signed-off-by: W. Michael Petullo <mike flyn org>

 libdmapsharing/dmap-mdns-browser.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libdmapsharing/dmap-mdns-browser.h b/libdmapsharing/dmap-mdns-browser.h
index e48b235..402454a 100644
--- a/libdmapsharing/dmap-mdns-browser.h
+++ b/libdmapsharing/dmap-mdns-browser.h
@@ -87,7 +87,7 @@ typedef enum
 		DMAP_MDNS_BROWSER_SERVICE_TYPE_DACP
 } DMAPMdnsBrowserServiceType;
 
-static const char *service_type_name[] = {
+static const char * const service_type_name[] = {
 	NULL,
 	"_daap._tcp",
 	"_dpap._tcp",



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]