summaryrefslogtreecommitdiff
path: root/epan
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2013-04-17 19:39:11 +0000
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2013-04-17 19:39:11 +0000
commit101489f38612741137811516589c6fe53af43c93 (patch)
treef829a194c35f7f90bb75ed1c4baab37ae0faf94a /epan
parentf9dce307d8b144c22da8cfaac50023171cfe739c (diff)
downloadwireshark-101489f38612741137811516589c6fe53af43c93.tar.gz
Use also const char to uat_save (identical to uat_load)
svn path=/trunk/; revision=48902
Diffstat (limited to 'epan')
-rw-r--r--epan/uat-int.h2
-rw-r--r--epan/uat.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/epan/uat-int.h b/epan/uat-int.h
index de39e1f499..e079de256a 100644
--- a/epan/uat-int.h
+++ b/epan/uat-int.h
@@ -91,7 +91,7 @@ WS_DLL_PUBLIC
void uat_clear(uat_t*);
WS_DLL_PUBLIC
-gboolean uat_save(uat_t* , char** );
+gboolean uat_save(uat_t* , const char** );
void uat_load_all(void);
diff --git a/epan/uat.c b/epan/uat.c
index f1abbb6ccb..87c90b27f1 100644
--- a/epan/uat.c
+++ b/epan/uat.c
@@ -242,7 +242,7 @@ static void putfld(FILE* fp, void* rec, uat_field_t* f) {
}
}
-gboolean uat_save(uat_t* uat, char** error) {
+gboolean uat_save(uat_t* uat, const char** error) {
guint i;
gchar* fname = uat_get_actual_filename(uat,TRUE);
FILE* fp;