summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc/stringto/stringto_template.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/libmisc/stringto/stringto_template.h')
-rw-r--r--cpukit/libmisc/stringto/stringto_template.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libmisc/stringto/stringto_template.h b/cpukit/libmisc/stringto/stringto_template.h
index b1890e81d0..501f4393f8 100644
--- a/cpukit/libmisc/stringto/stringto_template.h
+++ b/cpukit/libmisc/stringto/stringto_template.h
@@ -101,7 +101,7 @@ bool STRING_TO_NAME (
return false;
#endif
- *n = result;
+ *n = (STRING_TO_TYPE) result;
return true;
}