diff options
| author | Dirk Engling <erdgeist@erdgeist.org> | 2026-10-25 19:42:27 +0100 |
|---|---|---|
| committer | Dirk Engling <erdgeist@erdgeist.org> | 2026-10-25 19:42:27 +0100 |
| commit | 5bc4c0663576fd99bb06068e6dfd624690865c89 (patch) | |
| tree | e1e90e6966abebf960ed9c9d4ed0937be22961ff /scan_urlencoded_query.h | |
| parent | 33b095eb26ab8be3af48d8bd034262cd5ab03a04 (diff) | |
Be stricter about const char*, Wwrite-strings will warn in the future and we don't want to try to overwrite string literals
Diffstat (limited to 'scan_urlencoded_query.h')
| -rw-r--r-- | scan_urlencoded_query.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scan_urlencoded_query.h b/scan_urlencoded_query.h index d0929cf..f71752d 100644 --- a/scan_urlencoded_query.h +++ b/scan_urlencoded_query.h | |||
| @@ -11,8 +11,8 @@ | |||
| 11 | #include <sys/types.h> | 11 | #include <sys/types.h> |
| 12 | 12 | ||
| 13 | typedef struct { | 13 | typedef struct { |
| 14 | char *key; | 14 | const char *key; |
| 15 | int value; | 15 | int value; |
| 16 | } ot_keywords; | 16 | } ot_keywords; |
| 17 | 17 | ||
| 18 | typedef enum { | 18 | typedef enum { |
