Skip to content

Commit a3156cb

Browse files
author
Gonzalo Diaz
committed
[REFACTOR] [Hacker Rank] Warmup: Time Conversion solved ✅. Triying to fix sonarlint detected issues.
1 parent f6d4792 commit a3156cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/exercises/src/hackerrank/warmup/time_conversion.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#include <stdlib.h>
99
#include <string.h>
1010

11-
const unsigned int TIME_SIZE = 11; // hh:mm:ssXX 10 + 1 for null terminator
11+
#define TIME_SIZE 11 // hh:mm:ssXX 10 + 1 for null terminator
1212

1313
char *HACKERRANK_WARMUP_getFirst(const char *s, unsigned long n) {
1414
return HACKERRANK_WARMUP_getStringFragment(s, strlen(s), 0, n);

0 commit comments

Comments
 (0)