Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 69114089 authored by Steve French's avatar Steve French
Browse files

[CIFS] Reduce sparse endian warnings



Signed-off-by: default avatarSteve French <sfrench@us.ibm.com>
parent 84cdda8a
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -74,10 +74,11 @@ cifs_strtoUCS(wchar_t * to, const char *from, int len,
			cERROR(1,
			       ("cifs_strtoUCS: char2uni returned %d",
				charlen));
			to[i] = cpu_to_le16(0x003f);	/* a question mark */
			/* A question mark */
			to[i] = (wchar_t)cpu_to_le16(0x003f);
			charlen = 1;
		} else 
			to[i] = cpu_to_le16(to[i]);
			to[i] = (wchar_t)cpu_to_le16(to[i]);

	}