summaryrefslogtreecommitdiff
path: root/misc/lastools/files/patch-src_las2txt.cpp
blob: e72050fae2ceabb985379b7ec3a5988c21c06d5b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- src/las2txt.cpp.orig	2025-01-19 14:35:25 UTC
+++ src/las2txt.cpp
@@ -570,7 +570,7 @@ static void parse_extended_flags(char *parse_string)
 static void parse_extended_flags(char *parse_string)
 {
   const char *extended_flags[] = {"(HSV)", "(HSL)", "(hsv)", "(hsl)"};
-  const char replacement_codes[] = {HSV255, HSL255, HSV, HSL};
+  const signed char replacement_codes[] = {HSV255, HSL255, HSV, HSL};
   I32 nflags = (I32)(sizeof(extended_flags) / sizeof(char*));
 
   for (I32 i = 0; i < nflags; i++)