summaryrefslogtreecommitdiffstats
path: root/generic/regerror.c
diff options
context:
space:
mode:
Diffstat (limited to 'generic/regerror.c')
-rw-r--r--generic/regerror.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/regerror.c b/generic/regerror.c
index 49d93ed..14f92f6 100644
--- a/generic/regerror.c
+++ b/generic/regerror.c
@@ -88,7 +88,7 @@ regerror(
if (r->code >= 0) {
msg = r->name;
} else { /* Unknown; tell him the number */
- sprintf(convbuf, "REG_%u", (unsigned)icode);
+ sprintf(convbuf, "REG_%u", icode);
msg = convbuf;
}
break;