diff options
author | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2016-01-27 20:49:14 +0100 |
---|---|---|
committer | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2016-01-27 20:49:14 +0100 |
commit | 1d4451008312bca9d08791b481956262118f9995 (patch) | |
tree | 9bf99a50ed462ca5fd88500cccbdcbc9d7394f2c /src/core/support | |
parent | 607faedc3a20ee608aee44e7739f1c83b88a7252 (diff) |
Tidying things up.
Diffstat (limited to 'src/core/support')
-rw-r--r-- | src/core/support/env_win32.c | 2 | ||||
-rw-r--r-- | src/core/support/log_win32.c | 2 | ||||
-rw-r--r-- | src/core/support/string_win32.c | 6 | ||||
-rw-r--r-- | src/core/support/sync_win32.c | 2 | ||||
-rw-r--r-- | src/core/support/time_win32.c | 2 |
5 files changed, 7 insertions, 7 deletions
diff --git a/src/core/support/env_win32.c b/src/core/support/env_win32.c index 1f5a8155e7..8d2c61ae4c 100644 --- a/src/core/support/env_win32.c +++ b/src/core/support/env_win32.c @@ -1,6 +1,6 @@ /* * - * Copyright 2015, Google Inc. + * Copyright 2015-2016, Google Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff --git a/src/core/support/log_win32.c b/src/core/support/log_win32.c index 5bb30b33cd..e18e667fe5 100644 --- a/src/core/support/log_win32.c +++ b/src/core/support/log_win32.c @@ -1,6 +1,6 @@ /* * - * Copyright 2015, Google Inc. + * Copyright 2015-2016, Google Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff --git a/src/core/support/string_win32.c b/src/core/support/string_win32.c index 1556272d70..3b1f702cf1 100644 --- a/src/core/support/string_win32.c +++ b/src/core/support/string_win32.c @@ -1,6 +1,6 @@ /* * - * Copyright 2015, Google Inc. + * Copyright 2015-2016, Google Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -86,7 +86,7 @@ gpr_char_to_tchar(LPCSTR input) { LPTSTR ret; int needed = MultiByteToWideChar(CP_UTF8, 0, input, -1, NULL, 0); if (needed <= 0) return NULL; - ret = gpr_malloc((unsigned) needed * sizeof(TCHAR)); + ret = gpr_malloc((unsigned)needed * sizeof(TCHAR)); MultiByteToWideChar(CP_UTF8, 0, input, -1, ret, needed); return ret; } @@ -96,7 +96,7 @@ gpr_tchar_to_char(LPCTSTR input) { LPSTR ret; int needed = WideCharToMultiByte(CP_UTF8, 0, input, -1, NULL, 0, NULL, NULL); if (needed <= 0) return NULL; - ret = gpr_malloc((unsigned) needed); + ret = gpr_malloc((unsigned)needed); WideCharToMultiByte(CP_UTF8, 0, input, -1, ret, needed, NULL, NULL); return ret; } diff --git a/src/core/support/sync_win32.c b/src/core/support/sync_win32.c index 47e012054c..84d412a75f 100644 --- a/src/core/support/sync_win32.c +++ b/src/core/support/sync_win32.c @@ -1,6 +1,6 @@ /* * - * Copyright 2015, Google Inc. + * Copyright 2015-2016, Google Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff --git a/src/core/support/time_win32.c b/src/core/support/time_win32.c index e87b15cfc5..8af957e6f4 100644 --- a/src/core/support/time_win32.c +++ b/src/core/support/time_win32.c @@ -1,6 +1,6 @@ /* * - * Copyright 2015, Google Inc. + * Copyright 2015-2016, Google Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without |