aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authorJoerg Mayer <jmayer@loplof.de>2015-05-17 22:59:12 +0200
committerJörg Mayer <jmayer@loplof.de>2015-05-17 21:01:03 +0000
commit1c455284f0f6166beb4212614d4f1e2a177c7ebe (patch)
treecbfac0f75a321a3d84a03b5d10a0bf5338c05b0c /file.c
parent36af2c61e8dcdd692faf1fb9a9ed62c0dc4cd8ba (diff)
Fix some files to pass the pre-commit hook script.
Change-Id: I105bf4e03fcf95cf7541f6377215809759fd933e Reviewed-on: https://code.wireshark.org/review/8502 Reviewed-by: Jörg Mayer <jmayer@loplof.de>
Diffstat (limited to 'file.c')
-rw-r--r--file.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/file.c b/file.c
index 314d5c42c7..44fc233548 100644
--- a/file.c
+++ b/file.c
@@ -3122,7 +3122,7 @@ match_subtree_text(proto_node *node, gpointer data)
for (i = 0; i < label_len; i++) {
c_char = label_ptr[i];
if (cf->case_type)
- c_char = toupper(c_char);
+ c_char = g_ascii_toupper(c_char);
if (c_char == string[c_match]) {
c_match++;
if (c_match == string_len) {
@@ -3187,7 +3187,7 @@ match_summary_line(capture_file *cf, frame_data *fdata, void *criterion)
for (i = 0; i < info_column_len; i++) {
c_char = info_column[i];
if (cf->case_type)
- c_char = toupper(c_char);
+ c_char = g_ascii_toupper(c_char);
if (c_char == string[c_match]) {
c_match++;
if (c_match == string_len) {
@@ -3277,7 +3277,7 @@ match_narrow_and_wide(capture_file *cf, frame_data *fdata, void *criterion)
while (i < buf_len) {
c_char = pd[i];
if (cf->case_type)
- c_char = toupper(c_char);
+ c_char = g_ascii_toupper(c_char);
if (c_char != '\0') {
if (c_char == ascii_text[c_match]) {
c_match += 1;
@@ -3325,7 +3325,7 @@ match_narrow(capture_file *cf, frame_data *fdata, void *criterion)
while (i < buf_len) {
c_char = pd[i];
if (cf->case_type)
- c_char = toupper(c_char);
+ c_char = g_ascii_toupper(c_char);
if (c_char == ascii_text[c_match]) {
c_match += 1;
if (c_match == textlen) {
@@ -3372,7 +3372,7 @@ match_wide(capture_file *cf, frame_data *fdata, void *criterion)
while (i < buf_len) {
c_char = pd[i];
if (cf->case_type)
- c_char = toupper(c_char);
+ c_char = g_ascii_toupper(c_char);
if (c_char == ascii_text[c_match]) {
c_match += 1;
if (c_match == textlen) {