comparison xrogue/util.c @ 283:d71e5e1f49cf

Fix a few more compiler warnings.
author John "Elwin" Edwards
date Mon, 18 Sep 2017 19:36:14 -0400
parents 7c1cb43f346e
children e52a8a7ad4c5
comparison
equal deleted inserted replaced
282:8b6aba552f6f 283:d71e5e1f49cf
1202 */ 1202 */
1203 1203
1204 void 1204 void
1205 strucpy(char *s1, char *s2, int len) 1205 strucpy(char *s1, char *s2, int len)
1206 { 1206 {
1207 register char *sp; 1207 const char *sp;
1208 while (len--) 1208 while (len--)
1209 { 1209 {
1210 strcpy(s1, (sp = unctrl(*s2))); 1210 strcpy(s1, (sp = unctrl(*s2)));
1211 s1 += strlen(sp); 1211 s1 += strlen(sp);
1212 s2++; 1212 s2++;